]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
slab: fix calculate_slab_order() for SLAB_RECLAIM_ACCOUNT
authorLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Mar 2006 18:33:05 +0000 (10:33 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Mar 2006 18:33:05 +0000 (10:33 -0800)
commitf78bb8ad482267b92c122f0e37a7dce69c880247
tree0e43a4aabbf7a74c6253b1ecd30e3f6c8eccec43
parent7986824e4e31d6c66f39d2f11ab93fcfed21f593
slab: fix calculate_slab_order() for SLAB_RECLAIM_ACCOUNT

Instead of having a hard-to-read and confusing conditional in the
caller, just make the slab order calculation handle this special case,
since it's simple and obvious there.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slab.c