Return to subr_pool.c CVS log | Up to [cvs.NetBSD.org] / src / sys / kern |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.10, 1998/08/13 02:10:58 | version 1.11, 1998/08/28 20:05:48 | ||
---|---|---|---|
|
|
||
int flags; | int flags; | ||
int mtype; | int mtype; | ||
{ | { | ||
boolean_t waitok = (flags & PR_WAITOK) ? TRUE : FALSE; | |||
#if defined(UVM) | #if defined(UVM) | ||
return ((void *)uvm_km_alloc_poolpage()); | return ((void *)uvm_km_alloc_poolpage(waitok)); | ||
#else | #else | ||
return ((void *)kmem_alloc_poolpage()); | return ((void *)kmem_alloc_poolpage(waitok)); | ||
#endif | #endif | ||
} | } | ||