mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
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 <chengming.zhou@linux.dev> Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
This commit is contained in:
parent
17cce771c5
commit
fae1b01293
@ -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);
|
|||||||
enum slab_state {
|
enum slab_state {
|
||||||
DOWN,
|
DOWN,
|
||||||
PARTIAL,
|
PARTIAL,
|
||||||
PARTIAL_NODE,
|
|
||||||
UP,
|
UP,
|
||||||
FULL
|
FULL
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user