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)
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

diff --cc mm/slab.c
Simple merge