| version 1.186.2.1, 2011/06/06 09:09:35 |
version 1.187, 2011/01/17 07:13:32 |
| Line 55 __KERNEL_RCSID(0, "$NetBSD$"); |
|
| Line 55 __KERNEL_RCSID(0, "$NetBSD$"); |
|
| #include <sys/atomic.h> |
#include <sys/atomic.h> |
| |
|
| #include <uvm/uvm_extern.h> |
#include <uvm/uvm_extern.h> |
| #ifdef DIAGNOSTIC |
|
| #include <uvm/uvm_km.h> /* uvm_km_va_drain */ |
|
| #endif |
|
| |
|
| /* |
/* |
| * Pool resource management utility. |
* Pool resource management utility. |
| Line 182 static struct pool pcg_large_pool; |
|
| Line 179 static struct pool pcg_large_pool; |
|
| static struct pool cache_pool; |
static struct pool cache_pool; |
| static struct pool cache_cpu_pool; |
static struct pool cache_cpu_pool; |
| |
|
| pool_cache_t pnbuf_cache; /* pathname buffer cache */ |
|
| |
|
| /* List of all caches. */ |
/* List of all caches. */ |
| TAILQ_HEAD(,pool_cache) pool_cache_head = |
TAILQ_HEAD(,pool_cache) pool_cache_head = |
| TAILQ_HEAD_INITIALIZER(pool_cache_head); |
TAILQ_HEAD_INITIALIZER(pool_cache_head); |