linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Convert x86/mm/pat to ptdescs
@ 2026-01-27  0:51 Vishal Moola (Oracle)
  2026-01-27  0:51 ` [PATCH 1/3] x86/mm/pat: Convert pte code to use ptdescs Vishal Moola (Oracle)
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Vishal Moola (Oracle) @ 2026-01-27  0:51 UTC (permalink / raw)
  To: linux-kernel, linux-mm, x86, Mike Rapoport (Microsoft)
  Cc: akpm, Matthew Wilcox (Oracle),
	Dave Hansen, Andy Lutomirski, Peter Zijlstra,
	Vishal Moola (Oracle)

x86/mm/pat should be using ptdescs. One line has already been
converted to pagetable_free(), while the allocation sites use
get_free_pages(). This causes issues separately allocating ptdescs
from struct page.

These patches convert the allocation/free sites to use ptdescs. In
the short term, this helps enable Matthew's work to allocate frozen
pagetables. And in the long term, this will help us cleanly split
ptdesc allocations from struct page.

------

Based on current mm-new.

Vishal Moola (Oracle) (3):
  x86/mm/pat: Convert pte code to use ptdescs
  x86/mm/pat: Convert pmd code to use ptdescs
  x86/mm/pat: Convert split_large_page() to use ptdescs

 arch/x86/mm/pat/set_memory.c | 37 +++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

-- 
2.52.0



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-01-28 19:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-27  0:51 [PATCH 0/3] Convert x86/mm/pat to ptdescs Vishal Moola (Oracle)
2026-01-27  0:51 ` [PATCH 1/3] x86/mm/pat: Convert pte code to use ptdescs Vishal Moola (Oracle)
2026-01-27  0:51 ` [PATCH 2/3] x86/mm/pat: Convert pmd " Vishal Moola (Oracle)
2026-01-27  0:51 ` [PATCH 3/3] x86/mm/pat: Convert split_large_page() " Vishal Moola (Oracle)
2026-01-28 11:52 ` [PATCH 0/3] Convert x86/mm/pat to ptdescs Mike Rapoport
2026-01-28 19:17   ` Vishal Moola (Oracle)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox