From bd71f7b671e366859e8f21e4a701d9e2983c983a Mon Sep 17 00:00:00 2001 From: silby Date: Mon, 11 Aug 2003 05:51:51 +0000 Subject: More pipe changes: From alc: Move pageable pipe memory to a seperate kernel submap to avoid awkward vm map interlocking issues. (Bad explanation provided by me.) From me: Rework pipespace accounting code to handle this new layout, and adjust our default values to account for the fact that we now have a solid limit on allocations. Also, remove the "maxpipes" limit, as it no longer has a purpose. (The limit on kva usage solves the problem of having two many pipes.) --- sys/vm/vm_init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/vm/vm_init.c') diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c index c7ab903..215289c 100644 --- a/sys/vm/vm_init.c +++ b/sys/vm/vm_init.c @@ -75,6 +75,8 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include +#include #include #include @@ -195,6 +197,7 @@ again: pager_map->system_map = 1; exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, (16*(ARG_MAX+(PAGE_SIZE*3)))); + pipe_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, maxpipekva); /* * XXX: Mbuf system machine-specific initializations should -- cgit v1.1