[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yw2DWCHlivGge03V@casper.infradead.org>
Date: Tue, 30 Aug 2022 04:26:16 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Sidhartha Kumar <sidhartha.kumar@...cle.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
akpm@...ux-foundation.org, songmuchun@...edance.com,
mike.kravetz@...cle.com, vbabka@...e.cz,
william.kucharski@...cle.com, dhowells@...hat.com,
peterx@...hat.com, arnd@...db.de, ccross@...gle.com,
hughd@...gle.com, ebiederm@...ssion.com
Subject: Re: [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.
Powered by blists - more mailing lists