]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ptdesc: convert __page_flags to pt_flags
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 8 Sep 2025 17:11:00 +0000 (18:11 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 12 Sep 2025 00:25:57 +0000 (17:25 -0700)
commitb25f6227965ad5f04a0aa0accd9bada89b86223a
treebb40a6ebf34c32025ca5a0ff6ea70f8ac56d60d6
parent2ffbf7081c357c663d482a5b0d02022907800ade
ptdesc: convert __page_flags to pt_flags

Patch series "Some ptdesc cleanups".

The first two patches here are preparation for splitting struct ptdesc
from struct page and struct folio.  I think their only dependency is on
the memdesc_flags_t patches from August which is in mm-new.  The third
patch is just something I noticed while working on the code.

This patch (of 3):

Use the new memdesc_flags_t type to show that these are the same bits as
page/folio/slab and thesefore have the zone/node/section information in
them.  Remove a use of ptdesc_folio() by converting
pagetable_is_reserved() to use test_bit() directly.

Link: https://lkml.kernel.org/r/20250908171104.2409217-1-willy@infradead.org
Link: https://lkml.kernel.org/r/20250908171104.2409217-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h
include/linux/mm_types.h