Skip to content
Commit f78bb8ad authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7986824e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment