aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/uma_int.h
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2003-09-19 23:04:44 +0000
committerJeff Roberson <jeff@FreeBSD.org>2003-09-19 23:04:44 +0000
commit3e0cab95c0622b6792ca07844ef2e53af436797c (patch)
treed9f96eabe16f44a2d529ad317bf09056367f39ce /sys/vm/uma_int.h
parentaec40a4c57e8c40ab1c702e2ea00dfdb418a5957 (diff)
downloadsrc-3e0cab95c0622b6792ca07844ef2e53af436797c.tar.gz
src-3e0cab95c0622b6792ca07844ef2e53af436797c.zip
- Remove the cache colorization code. We can't use it due to all of the
broken consumers of the malloc interface who assume that the allocated address will be an even multiple of the size. - Remove disabled time delay code on uma_reclaim(). The comment there said it all. It was not an effective strategy and it should not be left in #if 0'd for all eternity.
Notes
Notes: svn path=/head/; revision=120255
Diffstat (limited to 'sys/vm/uma_int.h')
-rw-r--r--sys/vm/uma_int.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h
index 1c6bfaee75d2..1828c945589f 100644
--- a/sys/vm/uma_int.h
+++ b/sys/vm/uma_int.h
@@ -219,8 +219,6 @@ struct uma_zone {
struct uma_hash uz_hash;
u_int16_t uz_pgoff; /* Offset to uma_slab struct */
u_int16_t uz_ppera; /* pages per allocation from backend */
- u_int16_t uz_cacheoff; /* Next cache offset */
- u_int16_t uz_cachemax; /* Max cache offset */
uma_ctor uz_ctor; /* Constructor for each allocation */
uma_dtor uz_dtor; /* Destructor */
@@ -245,8 +243,6 @@ struct uma_zone {
struct uma_cache uz_cpu[1]; /* Per cpu caches */
};
-#define UMA_CACHE_INC 16 /* How much will we move data */
-
/*
* These flags must not overlap with the UMA_ZONE flags specified in uma.h.
*/