summaryrefslogtreecommitdiffstats
path: root/sys/vm/uma_core.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-11-16 20:57:41 +0000
committerjeff <jeff@FreeBSD.org>2002-11-16 20:57:41 +0000
commitd925843eaaf2794d2f9a696b061d96797b15edea (patch)
treeb740b433bb96687f5bd6ee94f997e530688cc7dd /sys/vm/uma_core.c
parent448c522a41592e4428f041449236ea9cae62da5e (diff)
downloadFreeBSD-src-d925843eaaf2794d2f9a696b061d96797b15edea.zip
FreeBSD-src-d925843eaaf2794d2f9a696b061d96797b15edea.tar.gz
- Don't forget the flags value when using boot pages.
Reported by: grehan
Diffstat (limited to 'sys/vm/uma_core.c')
-rw-r--r--sys/vm/uma_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c
index 443c197..be7b52f 100644
--- a/sys/vm/uma_core.c
+++ b/sys/vm/uma_core.c
@@ -724,6 +724,7 @@ slab_zalloc(uma_zone_t zone, int wait)
LIST_REMOVE(tmps, us_link);
uma_boot_free--;
mem = tmps->us_data;
+ flags = tmps->us_flags;
}
/* Point the slab into the allocated memory */
OpenPOWER on IntegriCloud