Re: [PATCH] x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel area.
From: Kirill A. Shutemov
Date: Thu Sep 12 2019 - 06:19:19 EST
On Wed, Sep 11, 2019 at 03:08:35PM -0500, Steve Wahl wrote:
> Thank you for your time looking into this with me!
With all this explanation the original patch looks sane to me.
But I would like to see more information from this thread in the commit
message and some comments in the code on why it's crucial not to map more
than needed.
I think we also need to make it clear that this is workaround for a broken
hardware: speculative execution must not trigger a halt.
--
Kirill A. Shutemov