]> git.baikalelectronics.ru Git - kernel.git/commit
slab: Common constants for kmalloc boundaries
authorChristoph Lameter <cl@linux.com>
Thu, 10 Jan 2013 19:14:19 +0000 (19:14 +0000)
committerPekka Enberg <penberg@kernel.org>
Fri, 1 Feb 2013 10:32:07 +0000 (12:32 +0200)
commit92195db2292d7980db72d31a57ce948fcb092a0e
tree3a74205955201dd5e1abb0a85104d95cafa49df6
parentefc9376058e9d3e076e524beda290a54e6aeb117
slab: Common constants for kmalloc boundaries

Standardize the constants that describe the smallest and largest
object kept in the kmalloc arrays for SLAB and SLUB.

Differentiate between the maximum size for which a slab cache is used
(KMALLOC_MAX_CACHE_SIZE) and the maximum allocatable size
(KMALLOC_MAX_SIZE, KMALLOC_MAX_ORDER).

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
include/linux/slab.h
include/linux/slub_def.h
mm/slub.c