[PATCH 4/7] x86/boot/32: Defer resyncing initial_page_table until percpu is set up

2017-03-22 Thread Andy Lutomirski
The x86 smpboot trampoline expects initial_page_table to have the GDT mapped. If the GDT ends up in a virtually mapped percpu page, then it won't be in the page tables at all until percpu areas are set up. The result will be a triple fault the first time that the CPU attempts to access the GDT

[PATCH 4/7] x86/boot/32: Defer resyncing initial_page_table until percpu is set up

2017-03-22 Thread Andy Lutomirski
The x86 smpboot trampoline expects initial_page_table to have the GDT mapped. If the GDT ends up in a virtually mapped percpu page, then it won't be in the page tables at all until percpu areas are set up. The result will be a triple fault the first time that the CPU attempts to access the GDT