lkml.org 
[lkml]   [2023]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mm/mm_init.c: remove redundant pr_info when node is memoryless
From
On 06.09.23 11:11, Yajun Deng wrote:
> There is a similar pr_info in free_area_init_node(), so remove the
> redundant pr_info.
>
> Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
> ---
> mm/mm_init.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/mm/mm_init.c b/mm/mm_init.c
> index 50f2f34745af..6be6f50813b1 100644
> --- a/mm/mm_init.c
> +++ b/mm/mm_init.c
> @@ -1871,8 +1871,6 @@ void __init free_area_init(unsigned long *max_zone_pfn)
> pg_data_t *pgdat;
>
> if (!node_online(nid)) {
> - pr_info("Initializing node %d as memoryless\n", nid);
> -
> /* Allocator not initialized yet */
> pgdat = arch_alloc_nodedata(nid);
> if (!pgdat)


Reviewed-by: David Hildenbrand <david@redhat.com>

--
Cheers,

David / dhildenb

\
 
 \ /
  Last update: 2023-09-11 09:53    [W:7.168 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site