Re: [PATCH v6 01/27] mm: Introduce struct folio

From: Christoph Hellwig
Date: Tue Apr 06 2021 - 11:08:06 EST


On Tue, Apr 06, 2021 at 03:55:11PM +0100, Matthew Wilcox wrote:
> Assuming we're getting rid of them all though, we have to include:
>
> $ git grep 'page->mapping' fs |wc -l
> 358
> $ git grep 'page->index' fs |wc -l
> 355

Are they all going to stay? Or are we going to clean up some of that
mess. A lot of ->index should be page_offet, and on the mapping side
the page_mapping and page_file_mapping mess is also waiting to be
sorted..