mbox series

[0/3] mini-os: mm: use a generic page table walker

Message ID 20240731130026.8467-1-jgross@suse.com (mailing list archive)
Headers show
Series mini-os: mm: use a generic page table walker | expand

Message

Jürgen Groß July 31, 2024, 1 p.m. UTC
Instead of open coding a page table walk multiple times, use a generic
page table walker instead.

This new page table walker will be used later for kexec support, too.

Juergen Gross (3):
  mini-os: mm: introduce generic page table walk function
  mini-os: mm: switch need_pgt() to use walk_pt()
  mini-os: mm: convert set_readonly() to use walk_pt()

 arch/x86/mm.c | 337 ++++++++++++++++++++++++++++----------------------
 1 file changed, 187 insertions(+), 150 deletions(-)