[PATCH v7 2/3] x86/boot/KASLR: Walk srat tables to filter immovable memory

2018-09-13 Thread Chao Fan
If CONFIG_MEMORY_HOTREMOVE enabled, walk through the acpi srat memory tables and store those immovable memory regions so that kaslr can get where to choose for randomization. Signed-off-by: Chao Fan --- arch/x86/boot/compressed/kaslr.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arc

Re: [PATCH v7 2/3] x86/boot/KASLR: Walk srat tables to filter immovable memory

2018-09-22 Thread Kees Cook
On Thu, Sep 13, 2018 at 3:46 AM, Chao Fan wrote: > If CONFIG_MEMORY_HOTREMOVE enabled, walk through the acpi srat memory > tables and store those immovable memory regions so that kaslr can get > where to choose for randomization. > > Signed-off-by: Chao Fan > --- > arch/x86/boot/compressed/kaslr