slab: make create_boot_cache() work with 32-bit sizes
authorAlexey Dobriyan <[email protected]>
Thu, 5 Apr 2018 23:20:33 +0000 (16:20 -0700)
committerLinus Torvalds <[email protected]>
Fri, 6 Apr 2018 04:36:23 +0000 (21:36 -0700)
commit361d575e5c7a39c73a8a9bdd504c1d1274f280aa
treedbb71fd1a03cc0c570f85473dcac55df3dd394c1
parent55de8b9c60f2f6da9bf5c9144020882d07e62296
slab: make create_boot_cache() work with 32-bit sizes

struct kmem_cache::size has always been "int", all those
"size_t size" are fake.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/slab.h
mm/slab_common.c