Re: [PATCH v2 2/7] fs/proc/page: use a folio in stable_page_flags()

From: Matthew Wilcox
Date: Fri Nov 10 2023 - 15:47:02 EST


On Fri, Nov 10, 2023 at 11:33:19AM +0800, Kefeng Wang wrote:
> Replace nine compound_head() calls with one page_folio().

But that's not all it does. Honestly, when you write these kind of
things, I wonder if you understand what you're doing.

After this patch, if we report on a tail page, we set (some of) the
flags according to how its head page is set. Before, we would have not
reported on it at all.

This was THE ENTIRE POINT of Greg's patch. And why his patch made sense
and yours is nonsense. Andrew, please drop this patch series.