diff options
author | Richard Braun <rbraun@sceen.net> | 2013-04-21 21:17:53 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-04-21 21:17:53 +0200 |
commit | 1af3af1431037f87d29434a46b91e1a059f785c2 (patch) | |
tree | 8125c593161d879f86178b1a7cbb2dae21ecf79f /ipc/ipc_object.c | |
parent | 24832de763ad58be6afdcff6c761b54ccee42667 (diff) |
Optimize slab reaping
Instead of walking the list of free slabs while holding the cache lock,
detach the list from the cache and directly compute the final count values,
and destroy slabs after releasing the cache lock.
* kern/slab.c (kmem_cache_reap): Optimize.
Diffstat (limited to 'ipc/ipc_object.c')
0 files changed, 0 insertions, 0 deletions