summaryrefslogtreecommitdiffstats
path: root/sys/vm/uma.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2005-10-08 21:03:54 +0000
committerdes <des@FreeBSD.org>2005-10-08 21:03:54 +0000
commitc66d4a275dc70f30fdb0f3697319a06b3d5ef604 (patch)
treed2daa61bd2acc81c850762097940323e59624571 /sys/vm/uma.h
parent5374999d013200def723741dd18b40500a1c0f37 (diff)
downloadFreeBSD-src-c66d4a275dc70f30fdb0f3697319a06b3d5ef604.zip
FreeBSD-src-c66d4a275dc70f30fdb0f3697319a06b3d5ef604.tar.gz
As alc pointed out to me, vm_page.c 1.305 was incomplete: uma_startup()
still uses the constant UMA_BOOT_PAGES. Change it to accept boot_pages as an additional argument. MFC after: 2 weeks
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 52bbe2c..2181ec7 100644
--- a/sys/vm/uma.h
+++ b/sys/vm/uma.h
@@ -350,11 +350,11 @@ typedef void (*uma_free)(void *item, int size, u_int8_t pflag);
* Discussion:
* This memory is used for zones which allocate things before the
* backend page supplier can give us pages. It should be
- * UMA_SLAB_SIZE * UMA_BOOT_PAGES bytes. (see uma_int.h)
+ * UMA_SLAB_SIZE * boot_pages bytes. (see uma_int.h)
*
*/
-void uma_startup(void *bootmem);
+void uma_startup(void *bootmem, int boot_pages);
/*
* Finishes starting up the allocator. This should
OpenPOWER on IntegriCloud