Re: [PATCH 5/7] mm/hugetlb: convert hugetlb_delete_from_page_cache() to use folios

From: Matthew Wilcox
Date: Mon Aug 29 2022 - 23:26:35 EST


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.