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

slab: clarify and fix calculate_slab_order()



If we triggered the 'offslab_limit' test, we would return with
cachep->gfporder incremented once too many times.

This clarifies the logic somewhat, and fixes that bug.

Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f716d830
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