lkml.org 
[lkml]   [2017]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: KASLR causes intermittent boot failures on some systems
On Wed, Apr 19, 2017 at 7:34 AM, Dan Williams <dan.j.williams@intel.com> wrote:
> Does the randomization ever cross a pgd boundary?

Yes, it can cross a pgd boundary. The original physical memory mapping
might as well but you would need almost 550Gb of memory.

>
> These crashes look very similar to the crashes caused by
> arch_add_memory() racing itself. This issue was fixed in:
>
> f931ab479dd2 mm: fix devm_memremap_pages crash, use
> mem_hotplug_{begin, done}
>
> ...but that only helps users that call mem_hotplug_begin() to prevent
> concurrent updates.
>

It could be related to page table changes done concurrently or just
done with certain expectations.


--
Thomas

\
 
 \ /
  Last update: 2017-04-19 17:08    [W:0.071 / U:1.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site