2023-03-12 12:23:38

by Thorsten Scherer

[permalink] [raw]
Subject: [PATCH] slab: Adjust comment after refactoring of gfp.h

Reflect the change from the commit below.

Fixes: cb5a065b4ea9 ("headers/deps: mm: Split <linux/gfp_types.h> out of <linux/gfp.h>")
Signed-off-by: Thorsten Scherer <[email protected]>
---
include/linux/slab.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/slab.h b/include/linux/slab.h
index 45af70315a94..87d687c43d8c 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -526,7 +526,7 @@ void *kmalloc_large_node(size_t size, gfp_t flags, int node) __assume_page_align
* to be at least to the size.
*
* The @flags argument may be one of the GFP flags defined at
- * include/linux/gfp.h and described at
+ * include/linux/gfp_types.h and described at
* :ref:`Documentation/core-api/mm-api.rst <mm-api-gfp-flags>`
*
* The recommended usage of the @flags is described at
--
2.38.0



2023-03-13 04:04:41

by Hyeonggon Yoo

[permalink] [raw]
Subject: Re: [PATCH] slab: Adjust comment after refactoring of gfp.h

On Sun, Mar 12, 2023 at 01:23:15PM +0100, Thorsten Scherer wrote:
> Reflect the change from the commit below.
>
> Fixes: cb5a065b4ea9 ("headers/deps: mm: Split <linux/gfp_types.h> out of <linux/gfp.h>")
> Signed-off-by: Thorsten Scherer <[email protected]>
> ---
> include/linux/slab.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/slab.h b/include/linux/slab.h
> index 45af70315a94..87d687c43d8c 100644
> --- a/include/linux/slab.h
> +++ b/include/linux/slab.h
> @@ -526,7 +526,7 @@ void *kmalloc_large_node(size_t size, gfp_t flags, int node) __assume_page_align
> * to be at least to the size.
> *
> * The @flags argument may be one of the GFP flags defined at
> - * include/linux/gfp.h and described at
> + * include/linux/gfp_types.h and described at
> * :ref:`Documentation/core-api/mm-api.rst <mm-api-gfp-flags>`

Acked-by: Hyeonggon Yoo <[email protected]>

> *
> * The recommended usage of the @flags is described at
> --
> 2.38.0
>

2023-03-13 13:53:11

by Vlastimil Babka

[permalink] [raw]
Subject: Re: [PATCH] slab: Adjust comment after refactoring of gfp.h

On 3/12/23 13:23, Thorsten Scherer wrote:
> Reflect the change from the commit below.
>
> Fixes: cb5a065b4ea9 ("headers/deps: mm: Split <linux/gfp_types.h> out of <linux/gfp.h>")
> Signed-off-by: Thorsten Scherer <[email protected]>

Thanks, added to slab/for-6.4/trivial

> ---
> include/linux/slab.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/slab.h b/include/linux/slab.h
> index 45af70315a94..87d687c43d8c 100644
> --- a/include/linux/slab.h
> +++ b/include/linux/slab.h
> @@ -526,7 +526,7 @@ void *kmalloc_large_node(size_t size, gfp_t flags, int node) __assume_page_align
> * to be at least to the size.
> *
> * The @flags argument may be one of the GFP flags defined at
> - * include/linux/gfp.h and described at
> + * include/linux/gfp_types.h and described at
> * :ref:`Documentation/core-api/mm-api.rst <mm-api-gfp-flags>`
> *
> * The recommended usage of the @flags is described at