Re: [Cluster-devel] [PATCH 3/9] mm: use filemap_get_entry in filemap_get_incore_folio

2023-01-18 Thread Matthew Wilcox
On Wed, Jan 18, 2023 at 10:43:23AM +0100, Christoph Hellwig wrote: > filemap_get_incore_folio wants to look at the details of xa_is_value > entries, but doesn't need any of the other logic in filemap_get_folio. > Switch it to use the lower-level filemap_get_entry interface. > > Signed-off-by:

[Cluster-devel] [PATCH 3/9] mm: use filemap_get_entry in filemap_get_incore_folio

2023-01-18 Thread Christoph Hellwig
filemap_get_incore_folio wants to look at the details of xa_is_value entries, but doesn't need any of the other logic in filemap_get_folio. Switch it to use the lower-level filemap_get_entry interface. Signed-off-by: Christoph Hellwig --- mm/swap_state.c | 2 +- 1 file changed, 1 insertion(+),