[PATCH 0/3] x86: Reduce code duplication on page table initialization

Kirill A. Shutemov posted 3 patches 1 year, 5 months ago
There is a newer version of this series
arch/x86/include/asm/kexec.h       |  5 +-
arch/x86/kernel/acpi/madt_wakeup.c | 73 +++++-------------------
arch/x86/kernel/machine_kexec_64.c | 89 +++++++++++-------------------
arch/x86/mm/ident_map.c            | 15 +----
4 files changed, 50 insertions(+), 132 deletions(-)
[PATCH 0/3] x86: Reduce code duplication on page table initialization
Posted by Kirill A. Shutemov 1 year, 5 months ago
Use kernel_ident_mapping_init() to initialize kernel page tables where
possible, replacing manual initialization, reducing code duplication.

Kirill A. Shutemov (3):
  x86/mm/ident_map: Fix virtual address wrap to zero
  x86/acpi: Replace manual page table initialization with
    kernel_ident_mapping_init()
  x86/64/kexec: Rewrite init_transition_pgtable() with
    kernel_ident_mapping_init()

 arch/x86/include/asm/kexec.h       |  5 +-
 arch/x86/kernel/acpi/madt_wakeup.c | 73 +++++-------------------
 arch/x86/kernel/machine_kexec_64.c | 89 +++++++++++-------------------
 arch/x86/mm/ident_map.c            | 15 +----
 4 files changed, 50 insertions(+), 132 deletions(-)

-- 
2.43.0