]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Fri, 28 Jan 2022 10:03:43 +0000 (11:03 +0100)
commit8da4aba30d06362b5ea817a89b9c1aa43fe58013
tree5ac8216c71b2f5af1ed1d44e1b5e1811455e46b6
parent63b97a37f4d920f85154750d9fef4401df764097
lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test

BugLink: https://bugs.launchpad.net/bugs/1959376
commit e073e5ef90298d2d6e5e7f04b545a0815e92110c upstream.

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: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
lib/test_meminit.c