[lkml]   [2022]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 3/4] mm: mlock: update the interface to use folios
On Mon, Dec 26, 2022 at 08:15:29AM +0000, Matthew Wilcox wrote:
> On Mon, Dec 26, 2022 at 07:08:46AM +0000, Lorenzo Stoakes wrote:
> > goto out;
> > - page = pmd_page(*pmd);
> > + folio = page_folio((struct page *)pmd_page(*pmd));
> I do not like this fix. Better to fix m68k to:
> #define pmd_page(pmd) (struct page *)NULL

I actually completely agree with this, and felt it was essentially an issue with
the fact m68k aren't doing this cast, but I thought perhaps it'd be out of scope
for this series to make the change there.

However now you're suggesting the same thing it seems like it isn't out of scope
at all :)

Will spin a v3 moving the fix there.

 \ /
  Last update: 2023-03-26 23:20    [W:0.049 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site