--- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.25-rc8-mm1/mm/slub.c =================================================================== --- linux-2.6.25-rc8-mm1.orig/mm/slub.c 2008-04-02 20:39:23.632512093 -0700 +++ linux-2.6.25-rc8-mm1/mm/slub.c 2008-04-02 20:44:05.493218519 -0700 @@ -660,7 +660,7 @@ static int slab_pad_check(struct kmem_ca return 1; start = page_address(page); - length = (PAGE_SIZE << oo_order(s->oo)); + length = (PAGE_SIZE << compound_order(page)); end = start + length; remainder = length % s->size; if (!remainder)