summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-09-20 23:35:33 +0000
committerpeter <peter@FreeBSD.org>2003-09-20 23:35:33 +0000
commitbfb0c45b8f8ba187719b11024bd580bc96fd32d3 (patch)
tree309e8f423bb9e87c9a7133783e6f9ef5a9c6c05c
parentf659474faeed8268bbcea7fa51a0f0ffeac2fc07 (diff)
downloadFreeBSD-src-bfb0c45b8f8ba187719b11024bd580bc96fd32d3.zip
FreeBSD-src-bfb0c45b8f8ba187719b11024bd580bc96fd32d3.tar.gz
Bad Jeffr! No cookie!
Temporarily disable the UMA_MD_SMALL_ALLOC stuff since recent commits break sparc64, amd64, ia64 and alpha. It appears only i386 and maybe powerpc were not broken.
-rw-r--r--sys/vm/uma_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c
index 0eca279..b606a15 100644
--- a/sys/vm/uma_core.c
+++ b/sys/vm/uma_core.c
@@ -1059,7 +1059,7 @@ zone_ctor(void *mem, int size, void *udata)
zone_large_init(zone);
else
zone_small_init(zone);
-#ifdef UMA_MD_SMALL_ALLOC
+#ifdef UMA_MD_SMALL_ALLOC_broken
if (zone->uz_ppera == 1) {
zone->uz_allocf = uma_small_alloc;
zone->uz_freef = uma_small_free;
@@ -1255,7 +1255,7 @@ uma_startup(void *bootmem)
bucket_init();
-#ifdef UMA_MD_SMALL_ALLOC
+#ifdef UMA_MD_SMALL_ALLOC_broken
booted = 1;
#endif
OpenPOWER on IntegriCloud