summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorAlexey Dobriyan2018-04-06 01:20:44 +0200
committerLinus Torvalds2018-04-06 06:36:23 +0200
commitac914d08bbb6afdc089ca6651af1988533c9786c (patch)
tree0811c52125399e391591ac1250bc858a95ff6443 /mm/slub.c
parentslab: make size_index[] array u8 (diff)
downloadkernel-qcow2-linux-ac914d08bbb6afdc089ca6651af1988533c9786c.tar.gz
kernel-qcow2-linux-ac914d08bbb6afdc089ca6651af1988533c9786c.tar.xz
kernel-qcow2-linux-ac914d08bbb6afdc089ca6651af1988533c9786c.zip
slab: make size_index_elem() unsigned int
size_index_elem() always works with small sizes (kmalloc caches are 32-bit) and returns small indexes. Link: http://lkml.kernel.org/r/20180305200730.15812-8-adobriyan@gmail.com Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions