summaryrefslogtreecommitdiffstats
path: root/sys/vm/uma.h
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2005-07-16 02:23:41 +0000
committersilby <silby@FreeBSD.org>2005-07-16 02:23:41 +0000
commit24f7a1c3d6fc7181b6310f850c3ef744a1d99039 (patch)
treef3b34d0dc837dc462214767a18c64b86a0155c62 /sys/vm/uma.h
parent425ca78cc44362153e43d4d6ae508e5fa7232ef1 (diff)
downloadFreeBSD-src-24f7a1c3d6fc7181b6310f850c3ef744a1d99039.zip
FreeBSD-src-24f7a1c3d6fc7181b6310f850c3ef744a1d99039.tar.gz
Increase the flags field for kegs from a 16 to a 32 bit value;
we have exhausted all 16 flags.
Diffstat (limited to 'sys/vm/uma.h')
-rw-r--r--sys/vm/uma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/uma.h b/sys/vm/uma.h
index aed3580..5d37ad8 100644
--- a/sys/vm/uma.h
+++ b/sys/vm/uma.h
@@ -165,7 +165,7 @@ typedef void (*uma_fini)(void *mem, int size);
*/
uma_zone_t uma_zcreate(char *name, size_t size, uma_ctor ctor, uma_dtor dtor,
uma_init uminit, uma_fini fini, int align,
- u_int16_t flags);
+ u_int32_t flags);
/*
* Create a secondary uma zone
@@ -206,7 +206,7 @@ uma_zone_t uma_zsecond_create(char *name, uma_ctor ctor, uma_dtor dtor,
* Definitions for uma_zcreate flags
*
* These flags share space with UMA_ZFLAGs in uma_int.h. Be careful not to
- * overlap when adding new features. 0xf000 is in use by uma_int.h.
+ * overlap when adding new features. 0xf0000000 is in use by uma_int.h.
*/
#define UMA_ZONE_PAGEABLE 0x0001 /* Return items not fully backed by
physical memory XXX Not yet */
OpenPOWER on IntegriCloud