summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2007-05-15 08:42:06 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-15 15:54:01 (GMT)
commitcfbf07f2a80b618c42a42c20d83647ea8fcceca0 (patch)
tree575c9834d1ed69459c79162042647008f2097123 /block
parent6a3ee3d5529c5e66aedf91401bfac65c61998639 (diff)
downloadlinux-cfbf07f2a80b618c42a42c20d83647ea8fcceca0.tar.xz
SLUB: CONFIG_LARGE_ALLOCS must consider MAX_ORDER limit
Take MAX_ORDER into consideration when determining KMALLOC_SHIFT_HIGH. Otherwise we may run into a situation where we attempt to create general slabs larger than MAX_ORDER. Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions