[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wgNxEq9BaxBSjC+RvKPsc5zuRwc1PGEvXqqX9vb1UALyA@mail.gmail.com>
Date: Fri, 1 Apr 2022 12:01:07 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Zi Yan <ziy@...dia.com>
Cc: Linux-MM <linux-mm@...ck.org>,
Steven Rostedt <rostedt@...dmis.org>,
David Hildenbrand <david@...hat.com>,
Vlastimil Babka <vbabka@...e.cz>,
Mel Gorman <mgorman@...hsingularity.net>,
Mike Rapoport <rppt@...nel.org>,
Oscar Salvador <osalvador@...e.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 2/2] mm: wrap __find_buddy_pfn() with a necessary buddy
page validation.
On Fri, Apr 1, 2022 at 11:56 AM Zi Yan <ziy@...dia.com> wrote:
>
> How about the patch below? If it looks good, I will send v3.
I can't see anything worrisome, but by now I've looked at several
versions and who knows what I'm missing.
Making it inline and allowing a NULL 'buddy_pfn' pointer for the cases
that don't care might be an option, but I don't think it matters
hugely.
Linus
Powered by blists - more mailing lists