lib/test_meminit: add a kmem_cache_alloc_bulk() test
authorAlexander Potapenko <glider@google.com>
Mon, 14 Oct 2019 21:12:00 +0000 (14:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 14 Oct 2019 22:04:01 +0000 (15:04 -0700)
commit03a9349ac0e095dea6ef8b5b7b14f9c23e5fabe6
tree9bbea792d10ecc834bfa9a1efd8d94bc5a764c8f
parent0f181f9fbea8bc7ea2f7e13ae7f8c256b39e254c
lib/test_meminit: add a kmem_cache_alloc_bulk() test

Make sure allocations from kmem_cache_alloc_bulk() and
kmem_cache_free_bulk() are properly initialized.

Link: http://lkml.kernel.org/r/20191007091605.30530-2-glider@google.com
Signed-off-by: Alexander Potapenko <glider@google.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: Laura Abbott <labbott@redhat.com>
Cc: Thibaut Sautereau <thibaut@sautereau.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_meminit.c