diff options
author | Dave Hansen <[email protected]> | 2014-01-28 14:24:50 -0800 |
---|---|---|
committer | Pekka Enberg <[email protected]> | 2014-01-31 13:40:34 +0200 |
commit | 433a91ff5fa19e3eb70b12f7056f234aebd09ac2 (patch) | |
tree | 9d0af35284088374a2a203cde24c4a7360d7abec /net/lapb/lapb_out.c | |
parent | 26e4f2057516f1c457e0e95346a00303f983ad53 (diff) |
mm: sl[uo]b: fix misleading comments
On x86, SLUB creates and handles <=8192-byte allocations internally.
It passes larger ones up to the allocator. Saying "up to order 2" is,
at best, ambiguous. Is that order-1? Or (order-2 bytes)? Make
it more clear.
SLOB commits a similar sin. It *handles* page-size requests, but the
comment says that it passes up "all page size and larger requests".
SLOB also swaps around the order of the very-similarly-named
KMALLOC_SHIFT_HIGH and KMALLOC_SHIFT_MAX #defines. Make it
consistent with the order of the other two allocators.
Cc: Matt Mackall <[email protected]>
Cc: Andrew Morton <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Acked-by: David Rientjes <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions