Messages in this thread | | | Date | Tue, 30 Aug 2022 09:47:48 -0700 | Subject | Re: [PATCH 5/7] mm/hugetlb: convert hugetlb_delete_from_page_cache() to use folios | From | Sidhartha Kumar <> |
| |
On 8/29/22 8:26 PM, Matthew Wilcox wrote: > 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. I missed changing the function argument to struct folio while rebasing onto Mike's patch, will fix in a v2.
| |