diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2006-06-23 02:03:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 07:42:46 -0700 |
commit | 4776874ff096cd410382c0eca5d75f69c9dfa58f (patch) | |
tree | 50501cc3d909b03c1e792ac203aa3b56641cd226 /mm/swapfile.c | |
parent | f886ed443fedb109e2062988bf120a531f0ec80a (diff) | |
download | linux-stable-4776874ff096cd410382c0eca5d75f69c9dfa58f.tar.gz linux-stable-4776874ff096cd410382c0eca5d75f69c9dfa58f.tar.bz2 linux-stable-4776874ff096cd410382c0eca5d75f69c9dfa58f.zip |
[PATCH] slab: page mapping cleanup
Clean up slab allocator page mapping a bit. The memory allocated for a
slab is physically contiguous so it is okay to assume struct pages are too
so kill the long-standing comment. Furthermore, rename set_slab_attr to
slab_map_pages and add a comment explaining why its needed.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions