commit | 95a05b428cc675694321c8f762591984f3fd2b1e | [log] [tgz] |
---|---|---|
author | Christoph Lameter <cl@linux.com> | Thu Jan 10 19:14:19 2013 +0000 |
committer | Pekka Enberg <penberg@kernel.org> | Fri Feb 01 12:32:07 2013 +0200 |
tree | 3a74205955201dd5e1abb0a85104d95cafa49df6 | |
parent | 6a67368c36e2c0c2578ba62f6264ab739af08cce [diff] |
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>