diff options
author | Richard Braun <rbraun@sceen.net> | 2012-12-01 15:44:12 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-15 12:43:26 +0200 |
commit | b94a61b6e10461021d6a96fe049673221392d4f5 (patch) | |
tree | a99c08bab062d626bec60c065534e0b7a86a5d59 /vm | |
parent | 0cdc43561bf4fdd158525a1628f50ac7d9ac5220 (diff) |
kern/slab: remove the KMEM_CACHE_NORECLAIM flag
Don't encourage anyone to use non reclaimable pools of resources, it's
a Bad Thing To Do.
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_map.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c index ae3ce21..4977bff 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -182,10 +182,12 @@ void vm_map_init(void) NULL, NULL, NULL, 0); kmem_cache_init(&vm_map_entry_cache, "vm_map_entry", sizeof(struct vm_map_entry), 0, NULL, NULL, NULL, 0); +#if 0 kmem_cache_init(&vm_map_kentry_cache, "vm_map_kentry", sizeof(struct vm_map_entry), 0, NULL, kentry_pagealloc, NULL, KMEM_CACHE_NOCPUPOOL | KMEM_CACHE_NOOFFSLAB | KMEM_CACHE_NORECLAIM); +#endif kmem_cache_init(&vm_map_copy_cache, "vm_map_copy", sizeof(struct vm_map_copy), 0, NULL, NULL, NULL, 0); |