[PATCH] slab: convert cache to page mapping macros
authorPekka Enberg <penberg@cs.helsinki.fi>
Mon, 14 Nov 2005 00:06:46 +0000 (16:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 14 Nov 2005 02:14:12 +0000 (18:14 -0800)
commit065d41cb269e9debb18c6d5052e4de1088ae3d8f
treedb3fbad420fc3dec144c76ecc51cc1d72e31aef9
parent669ed17521b9b78cdbeac8a53c30599aca9527ce
[PATCH] slab: convert cache to page mapping macros

This patch converts object cache <-> page mapping macros to static inline
functions to make the more explicit and readable.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slab.c