lkml.org 
[lkml]   [2022]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/7] mm/hugetlb: convert hugetlb_delete_from_page_cache() to use folios
On Mon, Aug 29, 2022 at 04:00:12PM -0700, Sidhartha Kumar wrote:
> static void hugetlb_delete_from_page_cache(struct page *page)
> {
> - ClearPageDirty(page);
> - ClearPageUptodate(page);
> - delete_from_page_cache(page);
> + folio_clear_dirty(folio);
> + folio_clear_uptodate(folio);
> + filemap_remove_folio(folio);
> }

Did you send the right version of this patch? It doesn't look like it'll
compile.

\
 
 \ /
  Last update: 2022-08-30 05:26    [W:0.163 / U:3.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site