aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChengming Zhou <chengming.zhou@linux.dev>2024-03-05 08:39:13 +0000
committerVlastimil Babka <vbabka@suse.cz>2024-03-05 11:12:47 +0100
commitfae1b0129327343b30be8f254da246a010810959 (patch)
tree5746c19e1b3f2634e66999f0243ee8ed577f2a80
parent17cce771c5fc85f43680143ac8b3b944fdad113f (diff)
downloadslab/for-6.9/slab-removal-cleanups.tar.gz
slab: remove PARTIAL_NODE slab_stateslab/for-6.9/slab-removal-cleanups
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>
-rw-r--r--mm/slab.h1
-rw-r--r--tools/include/linux/slab.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/mm/slab.h b/mm/slab.h
index 6b879d8e8a7a02..16c343942456eb 100644
--- a/mm/slab.h
+++ b/mm/slab.h
@@ -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 */
};
diff --git a/tools/include/linux/slab.h b/tools/include/linux/slab.h
index 311759ea25e921..51b25e9c4ec7b6 100644
--- a/tools/include/linux/slab.h
+++ b/tools/include/linux/slab.h
@@ -18,7 +18,6 @@ bool slab_is_available(void);
enum slab_state {
DOWN,
PARTIAL,
- PARTIAL_NODE,
UP,
FULL
};