LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH] slab: remove PARTIAL_NODE slab_state
@ 2024-03-05  8:39 Chengming Zhou
  2024-03-05 10:14 ` Vlastimil Babka
  0 siblings, 1 reply; 2+ messages in thread
From: Chengming Zhou @ 2024-03-05  8:39 UTC (permalink / raw
  To: vbabka
  Cc: akpm, cl, penberg, rientjes, iamjoonsoo.kim, roman.gushchin,
	42.hyeyoo, linux-mm, linux-kernel, Chengming Zhou

The PARTIAL_NODE slab_state has gone with SLAB removed, so just
remove it.

Signed-off-by: Chengming Zhou <chengming.zhou@linux.dev>
---
 mm/slab.h                  | 1 -
 tools/include/linux/slab.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/mm/slab.h b/mm/slab.h
index 96cb74be4b69..d2bc9b191222 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 311759ea25e9..51b25e9c4ec7 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
 };
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] slab: remove PARTIAL_NODE slab_state
  2024-03-05  8:39 [PATCH] slab: remove PARTIAL_NODE slab_state Chengming Zhou
@ 2024-03-05 10:14 ` Vlastimil Babka
  0 siblings, 0 replies; 2+ messages in thread
From: Vlastimil Babka @ 2024-03-05 10:14 UTC (permalink / raw
  To: Chengming Zhou
  Cc: akpm, cl, penberg, rientjes, iamjoonsoo.kim, roman.gushchin,
	42.hyeyoo, linux-mm, linux-kernel

On 3/5/24 09:39, Chengming Zhou wrote:
> The PARTIAL_NODE slab_state has gone with SLAB removed, so just
> remove it.
> 
> Signed-off-by: Chengming Zhou <chengming.zhou@linux.dev>

Thanks, queued.

> ---
>  mm/slab.h                  | 1 -
>  tools/include/linux/slab.h | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/mm/slab.h b/mm/slab.h
> index 96cb74be4b69..d2bc9b191222 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 311759ea25e9..51b25e9c4ec7 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
>  };

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-05 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-05  8:39 [PATCH] slab: remove PARTIAL_NODE slab_state Chengming Zhou
2024-03-05 10:14 ` Vlastimil Babka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).