[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e6d5e06e-426a-19cf-dd93-9b6011a33cb0@google.com>
Date: Sun, 24 Apr 2022 12:23:38 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Miaohe Lin <linmiaohe@...wei.com>
cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/mempolicy: clean up the code logic in
queue_pages_pte_range
On Tue, 19 Apr 2022, Miaohe Lin wrote:
> Since commit e5947d23edd8 ("mm: mempolicy: don't have to split pmd for
> huge zero page"), THP is never splited in queue_pages_pmd. Thus 2 is
> never returned now. We can remove such unnecessary ret != 2 check and
> clean up the relevant comment. Minor improvements in readability.
>
> Signed-off-by: Miaohe Lin <linmiaohe@...wei.com>
Acked-by: David Rientjes <rientjes@...gle.com>
Powered by blists - more mailing lists