Re: [PATCH v5 4/4] x86/mm/KASLR: Adjust the padding size for the direct mapping.
From: Baoquan He
Date: Sat Dec 14 2019 - 05:10:28 EST
On 12/14/19 at 08:13am, Borislav Petkov wrote:
> On Sat, Dec 14, 2019 at 07:29:28AM +0800, Baoquan He wrote:
> > OK, you mean parsing SRAT again before kernel_randomize_memory(). I
> > think this is what Masa made this patchset to avoid. Then we will have
> > three times SRAT parsing.
>
> Can the SRAT parsing be *moved* up so that it is done before
> kernel_randomize_memory() ?
>
> So that it doesn't happen 3 times and acpi_numa_init() can simply use
> the already parsed results.
Not very sure, It could be doable. Maybe Masa can have a try.