]> git.baikalelectronics.ru Git - kernel.git/commit
lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test
authorAndrey Konovalov <andreyknvl@google.com>
Thu, 20 Jan 2022 02:09:28 +0000 (18:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 20 Jan 2022 06:52:54 +0000 (08:52 +0200)
commit2cb138ba0072a7cc9048719985b5e30bc5e63d23
tree0aee33ed85f8c094f878443d536bb8c78be6cdb5
parent1b4fa0f3a6f0772a04d89b04d6133133cc43f0dd
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: 5310ed70063a ("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: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_meminit.c