Commit fae1b012 authored by Chengming Zhou's avatar Chengming Zhou Committed by Vlastimil Babka

slab: remove PARTIAL_NODE slab_state

The PARTIAL_NODE slab_state has gone with SLAB removed, so just
remove it.
Signed-off-by: default avatarChengming Zhou <chengming.zhou@linux.dev>
Signed-off-by: default avatarVlastimil Babka <vbabka@suse.cz>
parent 17cce771
...@@ -363,7 +363,6 @@ static inline int objs_per_slab(const struct kmem_cache *cache, ...@@ -363,7 +363,6 @@ static inline int objs_per_slab(const struct kmem_cache *cache,
enum slab_state { enum slab_state {
DOWN, /* No slab functionality yet */ DOWN, /* No slab functionality yet */
PARTIAL, /* SLUB: kmem_cache_node available */ PARTIAL, /* SLUB: kmem_cache_node available */
PARTIAL_NODE, /* SLAB: kmalloc size for node struct available */
UP, /* Slab caches usable but not all extras yet */ UP, /* Slab caches usable but not all extras yet */
FULL /* Everything is working */ FULL /* Everything is working */
}; };
......
...@@ -18,7 +18,6 @@ bool slab_is_available(void); ...@@ -18,7 +18,6 @@ bool slab_is_available(void);
enum slab_state { enum slab_state {
DOWN, DOWN,
PARTIAL, PARTIAL,
PARTIAL_NODE,
UP, UP,
FULL FULL
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment