Re: [PATCH 2/2] mm/mm.h: Write folio->_flags_1 & 0xff as a macro definition

From: David Hildenbrand
Date: Wed Feb 12 2025 - 11:22:44 EST


On 12.02.25 03:58, Liu Ye wrote:
There are multiple locations in mm.h where (folio->_flags_1 & 0xff) is
used. Write it as a macro definition to improve the readability and
maintainability of the code.

Signed-off-by: Liu Ye <liuye@xxxxxxxxxx>

I have something different (better) in the works:

https://lore.kernel.org/linux-mm/20240829165627.2256514-3-david@xxxxxxxxxx/

--
Cheers,

David / dhildenb