slab: remove PARTIAL_NODE slab_state
Subsystems (2)
PATCH 1/1 slab: remove PARTIAL_NODE slab_state
The PARTIAL_NODE slab_state has gone with SLAB removed, so just remove it.
Signed-off-by Chengming Zhou <[email protected]>
--- mm/slab.h | 1 - tools/include/linux/slab.h | 1 - 2 files changed, 2 deletions(-)
mm/slab.h +0 -1
@@ -363,7 +363,6 @@ static inline int objs_per_slab(const struct kmem_cache *cache,enum slab_state {DOWN ,/* No slab functionality yet */ PARTIAL ,/* SLUB: kmem_cache_node available */ -PARTIAL_NODE ,/* SLAB: kmalloc size for node struct available */ UP ,/* Slab caches usable but not all extras yet */ FULL /* Everything is working */ };
tools/include/linux/slab.h +0 -1
@@ -18,7 +18,6 @@ bool slab_is_available(void);enum slab_state {DOWN ,PARTIAL , -PARTIAL_NODE ,UP ,FULL };
Signature · 1 line
2.40.1
Quoted 4 lines · Chengming Zhou
The
PARTIAL_NODEslab_statehas gone with SLAB removed, so just remove it.Signed-off-by Chengming Zhou <[email protected]>
Thanks, queued.
Quoted 29 lines
--- mm/slab.h | 1 - tools/include/linux/slab.h | 1 - 2 files changed, 2 deletions(-)mm/slab.h +0
-1@@ -363,7 +363,6 @@ static inline int objs_per_slab(const struct kmem_cache *cache,enum slab_state {DOWN ,/* No slab functionality yet */ PARTIAL ,/* SLUB: kmem_cache_node available */ -PARTIAL_NODE ,/* SLAB: kmalloc size for node struct available */ UP ,/* Slab caches usable but not all extras yet */ FULL /* Everything is working */ };tools/include/linux/slab.h +0
-1@@ -18,7 +18,6 @@ bool slab_is_available(void);enum slab_state {DOWN ,PARTIAL , -PARTIAL_NODE ,UP ,FULL };