]> git.baikalelectronics.ru Git - kernel.git/commit
slab, slub, slob: add slab_flags_t
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 16 Nov 2017 01:32:18 +0000 (17:32 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:01 +0000 (18:21 -0800)
commit05176484ecef83fb8fbe2db8a74aa5a52e02133d
treeca4092f2126ac85a63647a48e43ecbf34bb69782
parentf84ec8165c4d351ee7bb5d6429455742e3844eda
slab, slub, slob: add slab_flags_t

Add sparse-checked slab_flags_t for struct kmem_cache::flags (SLAB_POISON,
etc).

SLAB is bloated temporarily by switching to "unsigned long", but only
temporarily.

Link: http://lkml.kernel.org/r/20171021100225.GA22428@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Christoph Lameter <cl@linux.com>
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>
15 files changed:
fs/ecryptfs/main.c
fs/xfs/kmem.h
include/linux/kasan.h
include/linux/kmemleak.h
include/linux/slab.h
include/linux/slab_def.h
include/linux/slub_def.h
include/linux/types.h
include/net/sock.h
mm/kasan/kasan.c
mm/slab.c
mm/slab.h
mm/slab_common.c
mm/slob.c
mm/slub.c