Subject: about the pool allocator
To: None <tech-kern@netbsd.org>
From: Lars Heidieker <lars@heidieker.de>
List: tech-kern
Date: 09/13/2004 01:39:12
Hi,

there something about the pool allocator I wasn't able to figure out yet.
The Question is, how is it managed that the
me = pool_get(&uvm_map_entry_kmem_pool, pflags);
in uvm_map works if it might end up there again, after calling
pool_allocator_alloc  ---> pool_page_alloc --> uvm_km_kmemalloc --> uvm_map
and then a need for a new map entry.
This would result in recursion, but I guess I am just missing some detail.

Lars