aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/uma.h
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2019-08-06 23:04:59 +0000
committerJeff Roberson <jeff@FreeBSD.org>2019-08-06 23:04:59 +0000
commiteda1b0164796a136c46458adfc8a69599ccc84c6 (patch)
tree8bbf82d78d194955f1f31e84c237ab8eea74f9aa /sys/vm/uma.h
parentc16850865572058518fa625359057032563c8baf (diff)
Implement a MINBUCKET zone flag so we can use minimal caching on zones that
may be expensive to cache. Reviewed by: markj, kib Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D20930
Notes
Notes: svn path=/head/; revision=350661
Diffstat (limited to 'sys/vm/uma.h')
-rw-r--r--sys/vm/uma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/uma.h b/sys/vm/uma.h
index d7993979cb39..a77102256bdb 100644
--- a/sys/vm/uma.h
+++ b/sys/vm/uma.h
@@ -274,6 +274,7 @@ uma_zone_t uma_zcache_create(char *name, int size, uma_ctor ctor, uma_dtor dtor,
* NUMA aware Zone. Implements a best
* effort first-touch policy.
*/
+#define UMA_ZONE_MINBUCKET 0x20000 /* Use smallest buckets. */
/*
* These flags are shared between the keg and zone. In zones wishing to add