Re: [PATCH v2] x86/KASLR: Use old ident map page table if physical randomization failed

2017-04-27 Thread Baoquan He
On 04/28/17 at 08:25am, Ingo Molnar wrote: > > * Baoquan He wrote: > > > Dave found kdump kernel with kaslr enabled will reset to bios immediately > > if physical randomization failed to find a new position for kernel. But > > kernel with 'nokaslr' option works in this case. > > > > The reason

Re: [PATCH v2] x86/KASLR: Use old ident map page table if physical randomization failed

2017-04-27 Thread Ingo Molnar
* Baoquan He wrote: > Dave found kdump kernel with kaslr enabled will reset to bios immediately > if physical randomization failed to find a new position for kernel. But > kernel with 'nokaslr' option works in this case. > > The reason is kaslr will install a new page table for ident mapping, >

[PATCH v2] x86/KASLR: Use old ident map page table if physical randomization failed

2017-04-27 Thread Baoquan He
Dave found kdump kernel with kaslr enabled will reset to bios immediately if physical randomization failed to find a new position for kernel. But kernel with 'nokaslr' option works in this case. The reason is kaslr will install a new page table for ident mapping, while it missed to consider buildi