On 04.03.25 09:45, Kirill A. Shutemov wrote:
On Mon, Mar 03, 2025 at 05:10:05PM +0000, Fuad Tabba wrote:+static inline int page_get_type(const struct page *page) +{ + return page->page_type >> 24;This magic number in page_type code asks for a #define.
As Willy is about to rewrite most of that either way (once the page type is stored elsewhere), I'm not sure if that define is really valuable at this point.
-- Cheers, David / dhildenb