Skip to content

Commit fae1b01

Browse files
cmzxotehcaster
authored andcommitted
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]> Signed-off-by: Vlastimil Babka <[email protected]>
1 parent 17cce77 commit fae1b01

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

mm/slab.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ static inline int objs_per_slab(const struct kmem_cache *cache,
363363
enum slab_state {
364364
DOWN, /* No slab functionality yet */
365365
PARTIAL, /* SLUB: kmem_cache_node available */
366-
PARTIAL_NODE, /* SLAB: kmalloc size for node struct available */
367366
UP, /* Slab caches usable but not all extras yet */
368367
FULL /* Everything is working */
369368
};

tools/include/linux/slab.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ bool slab_is_available(void);
1818
enum slab_state {
1919
DOWN,
2020
PARTIAL,
21-
PARTIAL_NODE,
2221
UP,
2322
FULL
2423
};

0 commit comments

Comments
 (0)