Re: [PATCH] x86-64: no need to fix up physical addresses if they are correct

2015-02-28 Thread Borislav Petkov
On Sat, Feb 28, 2015 at 07:34:20PM +0600, Alexander Kuleshov wrote: > If kernel doesn't use kASLR and runned on the same address that was > compiled to run, %rbp will be zero and no need to fix physical addresses > in the page tables. > > Signed-off-by: Alexander Kuleshov > --- > arch/x86/kernel

[PATCH] x86-64: no need to fix up physical addresses if they are correct

2015-02-28 Thread Alexander Kuleshov
If kernel doesn't use kASLR and runned on the same address that was compiled to run, %rbp will be zero and no need to fix physical addresses in the page tables. Signed-off-by: Alexander Kuleshov --- arch/x86/kernel/head_64.S | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/x86/k