slub: Remove objsize check in kmem_cache_flags()
authorChristoph Lameter <clameter@sgi.com>
Sat, 16 Feb 2008 07:45:24 +0000 (23:45 -0800)
committerChristoph Lameter <clameter@sgi.com>
Mon, 3 Mar 2008 20:22:30 +0000 (12:22 -0800)
commite153362a50a34439718a938a851bba977116e19a
treec8c4b19d13435f9d94ba92eb0c1ab1d8ff25c31a
parentd9acf4b7b62d783d84273a61aed41a0f025b08ac
slub: Remove objsize check in kmem_cache_flags()

There is no page->offset anymore and also no associated limit on the number
of objects. The page->offset field was removed for 2.6.24. So the check
in kmem_cache_flags() is now also obsolete (should have been dropped
earlier, somehow a hunk vanished).

Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-by: Christoph Lameter <clameter@sgi.com>
mm/slub.c