]> git.baikalelectronics.ru Git - kernel.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)
commit29631a9bb044c4308a02c18d521006ce4814d825
tree0e43a4aabbf7a74c6253b1ecd30e3f6c8eccec43
parent15ce75a81f7b4aa758046686486c08d1f2757ef1
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