x86: fix 1:1 mapping init on 64-bit (memory hotplug case)
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:  Jan Beulich <jbeulich@novell.com>
Signed-off-by:
Jan Beulich <jbeulich@novell.com>
Signed-off-by:  Ingo Molnar <mingo@elte.hu>
Ingo Molnar <mingo@elte.hu>
Loading
Please register or sign in to comment
