* [PATCH] mm/mm_init.c: Update obsolete comment in get_pfn_range_for_nid()
@ 2023-06-25 3:33 Miaohe Lin
2023-06-25 5:06 ` Mike Rapoport
0 siblings, 1 reply; 2+ messages in thread
From: Miaohe Lin @ 2023-06-25 3:33 UTC (permalink / raw)
To: akpm, rppt; +Cc: linux-mm, linux-kernel, linmiaohe
Since commit 633c0666b5a5 ("Memoryless nodes: drop one memoryless node boot
warning"), the warning for a node with no available memory is removed.
Update the corresponding comment.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
mm/mm_init.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/mm/mm_init.c b/mm/mm_init.c
index 999723dee8cc..f90db54e2b21 100644
--- a/mm/mm_init.c
+++ b/mm/mm_init.c
@@ -1681,8 +1681,7 @@ static inline void alloc_node_mem_map(struct pglist_data *pgdat) { }
*
* It returns the start and end page frame of a node based on information
* provided by memblock_set_node(). If called for a node
- * with no available memory, a warning is printed and the start and end
- * PFNs will be 0.
+ * with no available memory, the start and end PFNs will be 0.
*/
void __init get_pfn_range_for_nid(unsigned int nid,
unsigned long *start_pfn, unsigned long *end_pfn)
--
2.27.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mm/mm_init.c: Update obsolete comment in get_pfn_range_for_nid()
2023-06-25 3:33 [PATCH] mm/mm_init.c: Update obsolete comment in get_pfn_range_for_nid() Miaohe Lin
@ 2023-06-25 5:06 ` Mike Rapoport
0 siblings, 0 replies; 2+ messages in thread
From: Mike Rapoport @ 2023-06-25 5:06 UTC (permalink / raw)
To: Miaohe Lin; +Cc: akpm, linux-mm, linux-kernel
On Sun, Jun 25, 2023 at 11:33:40AM +0800, Miaohe Lin wrote:
> Since commit 633c0666b5a5 ("Memoryless nodes: drop one memoryless node boot
> warning"), the warning for a node with no available memory is removed.
> Update the corresponding comment.
>
> Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
> ---
> mm/mm_init.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/mm/mm_init.c b/mm/mm_init.c
> index 999723dee8cc..f90db54e2b21 100644
> --- a/mm/mm_init.c
> +++ b/mm/mm_init.c
> @@ -1681,8 +1681,7 @@ static inline void alloc_node_mem_map(struct pglist_data *pgdat) { }
> *
> * It returns the start and end page frame of a node based on information
> * provided by memblock_set_node(). If called for a node
> - * with no available memory, a warning is printed and the start and end
> - * PFNs will be 0.
> + * with no available memory, the start and end PFNs will be 0.
> */
> void __init get_pfn_range_for_nid(unsigned int nid,
> unsigned long *start_pfn, unsigned long *end_pfn)
> --
> 2.27.0
>
--
Sincerely yours,
Mike.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-25 5:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-25 3:33 [PATCH] mm/mm_init.c: Update obsolete comment in get_pfn_range_for_nid() Miaohe Lin
2023-06-25 5:06 ` Mike Rapoport
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox