mbox series

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

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

Message

Jürgen Groß Aug. 13, 2024, 1:41 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.

Changes in V2:
- addressed comments

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 | 353 +++++++++++++++++++++++++++++---------------------
 1 file changed, 204 insertions(+), 149 deletions(-)