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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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 */
};
+0 −1
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@ bool slab_is_available(void);
enum slab_state {
	DOWN,
	PARTIAL,
	PARTIAL_NODE,
	UP,
	FULL
};