Re: [PATCH v2] intel_th: avoid using deprecated page->mapping, index fields

From: Lorenzo Stoakes
Date: Wed Jan 29 2025 - 06:51:43 EST


On Wed, Jan 29, 2025 at 01:39:06PM +0200, Alexander Shishkin wrote:
> Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx> writes:
>
> > Thanks very much! Yeah just keen to get this in as we are moving towards
> > removing these fields very soon.
>
> My understanding is that this is a part of larger effort to reduce
> struct page to 8 bytes and an optionally dynamically allocated slightly
> larger structure, is that correct? Just curious.

Broadly yes indeed, it's a big lot of unnecessary memory usage and a key long
term mm project (of Matthew's, I am merely a humble helper in this area :)

If you're curious, you can read Matthew's latest update on the project at [0].

[0]:https://lore.kernel.org/linux-mm/Z37pxbkHPbLYnDKn@xxxxxxxxxxxxxxxxxxxx/

>
> > Could you take this in your tree? I think that'd work best.
>
> Sure, will do.

Thanks!

>
> Thanks,
> --
> Alex