[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2505404b-9a4a-55eb-6c0a-3c084c3430c5@suse.cz>
Date: Thu, 12 Aug 2021 19:34:18 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>,
linux-kernel@...r.kernel.org
Cc: linux-mm@...ck.org, linux-fsdevel@...r.kernel.org,
Christoph Hellwig <hch@....de>
Subject: Re: [PATCH v14 086/138] mm/filemap: Add filemap_add_folio()
On 7/15/21 5:36 AM, Matthew Wilcox (Oracle) wrote:
> Convert __add_to_page_cache_locked() into __filemap_add_folio().
> Add an assertion to it that (for !hugetlbfs), the folio is naturally
> aligned within the file. Move the prototype from mm.h to pagemap.h.
> Convert add_to_page_cache_lru() into filemap_add_folio(). Add a
> compatibility wrapper for unconverted callers.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@...radead.org>
> Reviewed-by: Christoph Hellwig <hch@....de>
Acked-by: Vlastimil Babka <vbabka@...e.cz>
Powered by blists - more mailing lists