On 01/20/2015 07:37 PM, Baoquan He wrote:
Leftover problem:
hpa want to see the physical randomization can cover the whole physical
memory. I
checked code and found it's hard to do. Because in
arch/x86/boot/compressed/head_64.S
an identity mapping of 4G is built and then kaslr and decompressing are done.
The #PF
handler solution which he suggested is only available after jump into
decompressed
kernel, namely in arch/x86/kernel/head_64.S. I didn't think of a way to do the
whole
memory covering for physical address randomization, any suggestion or idea?
Basically, it means adding an IDT and #PF handler to the decompression
code. Not really all that complex.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/