lkml.org 
[lkml]   [2023]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/8] mm: page_alloc: use get_pfnblock_migratetype where pfn available
On Mon, Aug 21, 2023 at 04:29:36PM -0400, Zi Yan wrote:
> On 21 Aug 2023, at 14:33, Johannes Weiner wrote:
>
> > Save a pfn_to_page() lookup when the pfn is right there already.
> >
> > Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
> > ---
> > mm/page_alloc.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Just notice that it is already done in:
> https://lkml.kernel.org/r/20230811115945.3423894-3-shikemeng@huaweicloud.com

Even better :) I'll rebase on top of this.

\
 
 \ /
  Last update: 2023-08-21 23:23    [W:0.179 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site