lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test
authorAndrey Konovalov <andreyknvl@google.com>
Thu, 30 Dec 2021 09:29:10 +0000 (20:29 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 16 Jan 2022 07:39:37 +0000 (18:39 +1100)
commit6bc9bfc90c69a92fbcdf4b188fc35b060b48c1ee
tree887f08d69652532c408a4eee96608236b2d20670
parent7d6ed32478cc8f15a5ef0a6639500181c8ab0833
lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test

Make do_kmem_cache_size_bulk() destroy the cache it creates.

Link: https://lkml.kernel.org/r/aced20a94bf04159a139f0846e41d38a1537debb.1640018297.git.andreyknvl@google.com
Fixes: 03a9349ac0e0 ("lib/test_meminit: add a kmem_cache_alloc_bulk() test")
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
lib/test_meminit.c