mm: fix race between kmem_cache destroy, create and deactivate
[muen/linux.git] / include / linux / slab.h
index 4d759e1ddc335de2cc24d9ba5b55639b66cae39a..14e3fe4bd6a15a4b02f1a0c01268c70ca730ee0c 100644 (file)
@@ -600,6 +600,7 @@ struct memcg_cache_params {
                        struct memcg_cache_array __rcu *memcg_caches;
                        struct list_head __root_caches_node;
                        struct list_head children;
+                       bool dying;
                };
                struct {
                        struct mem_cgroup *memcg;