Re: [PATCH v4] mm/page_alloc: Consolidate unlikely handling in page_expected_state

From: Matthew Wilcox
Date: Fri Mar 28 2025 - 10:34:12 EST


On Fri, Mar 28, 2025 at 09:47:57AM +0800, Ye Liu wrote:
> Consolidate the handling of unlikely conditions in the
> page_expected_state() function to reduce code duplication and improve
> readability.

I don't think this is an equivalent transformation.

Please, stop with these tweaky patches to incredibly sensitive core code.
Fix a problem, or leave it alone. We are primarily short of reviewer
bandwidth. You could help with that by reviewing other people's patches.
Sending patches of your own just adds to other people's workload.