• Jan Beulich's avatar
    x86: fix 1:1 mapping init on 64-bit (memory hotplug case) · 8ae3a5a8
    Jan Beulich authored
    While I don't have a hotplug capable system at hand, I think two issues need
    fixing:
    
    - pud_phys (in kernel_physical_ampping_init()) would remain uninitialized in
      the after_bootmem case
    
    - the locking done just around phys_pmd_{init,update}() would leave out pgd
      updates, and it was needlessly covering code portions that do allocations
      (perhaps using a more friendly gfp value in alloc_low_page() would then be
      possible)
    Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    8ae3a5a8
init_64.c 27.3 KB