diff mbox series

[3/4] mm/page_alloc: fix a typo in comment about GFP flag

Message ID 20240619010612.20740-3-richard.weiyang@gmail.com (mailing list archive)
State New
Headers show
Series [1/4] mm/sparse: nr_pages won't be 0 | expand

Commit Message

Wei Yang June 19, 2024, 1:06 a.m. UTC
The GFP flags used to choose the zonelist is __GFP_THISNODE.

Let's change it to what exactly it should be.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
---
 mm/page_alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mike Rapoport June 23, 2024, 7:50 a.m. UTC | #1
On Wed, Jun 19, 2024 at 01:06:11AM +0000, Wei Yang wrote:
> The GFP flags used to choose the zonelist is __GFP_THISNODE.
> 
> Let's change it to what exactly it should be.
> 
> Signed-off-by: Wei Yang <richard.weiyang@gmail.com>

Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>

> ---
>  mm/page_alloc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index f3ba1ede142d..594176449890 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -5209,7 +5209,7 @@ static void build_zonelists_in_node_order(pg_data_t *pgdat, int *node_order,
>  }
>  
>  /*
> - * Build gfp_thisnode zonelists
> + * Build __GFP_THISNODE zonelists
>   */
>  static void build_thisnode_zonelists(pg_data_t *pgdat)
>  {
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index f3ba1ede142d..594176449890 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -5209,7 +5209,7 @@  static void build_zonelists_in_node_order(pg_data_t *pgdat, int *node_order,
 }
 
 /*
- * Build gfp_thisnode zonelists
+ * Build __GFP_THISNODE zonelists
  */
 static void build_thisnode_zonelists(pg_data_t *pgdat)
 {