diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-03-25 06:06:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:22:50 -0500 |
commit | cafeb02e098ecd58fb0bd797b2c9fbba3edf54f8 (patch) | |
tree | f4d03a748184e24cb0ff4c9a56ba6b0eaefd78d3 /kernel/dma.c | |
parent | e00946fe2351307eb3eda7a3343530f6d2d1af2e (diff) |
[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 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions