mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy()
JIRA: https://issues.redhat.com/browse/RHEL-2466
This patch is a backport of the following upstream commit
commit 46a9ea6681907a3be6b6b0d43776dccc62cad6cf
Author: Rafael Aquini aquini@redhat.com
Date: Fri Sep 8 19:06:49 2023 -0400
mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy()
which is a follow-up fix for the following RHEL backport commit
Fixes: 872b93e2 ("mm/slab_common: Deleting kobject in kmem_cache_destroy() without holding slab_mutex/cpu_hotplug_lock")
Signed-off-by: Rafael Aquini aquini@redhat.com
Edited by Rafael Aquini