diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-03-25 12:06:46 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 17:22:50 +0100 |
commit | cafeb02e098ecd58fb0bd797b2c9fbba3edf54f8 (patch) | |
tree | f4d03a748184e24cb0ff4c9a56ba6b0eaefd78d3 /lib/rbtree.c | |
parent | [PATCH] slab: Bypass free lists for __drain_alien_cache() (diff) | |
download | linux-cafeb02e098ecd58fb0bd797b2c9fbba3edf54f8.tar.xz linux-cafeb02e098ecd58fb0bd797b2c9fbba3edf54f8.zip |
[PATCH] alloc_kmemlist: Some cleanup in preparation for a real memory leak fix
Inspired by Jesper Juhl's patch from today
1. Get rid of err
We do not set it to anything else but zero.
2. Drop the CONFIG_NUMA stuff.
There are definitions for alloc_alien_cache and free_alien_cache()
that do the right thing for the non NUMA case.
3. Better naming of variables.
4. Remove redundant cachep->nodelists[node] expressions.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/rbtree.c')
0 files changed, 0 insertions, 0 deletions