Re: [PATCH v2 1/6] x86/bugs: Add asm helpers for executing VERW
From: Peter Zijlstra
Date: Tue Oct 24 2023 - 13:03:24 EST
On Tue, Oct 24, 2023 at 09:45:20AM -0700, Pawan Gupta wrote:
> > > modules being within 4GB of kernel.
FWIW, it's 2G, it's a s32 displacement, the highest most address can
jump 2g down, while the lowest most address can jump 2g up. Leaving a 2G
directly addressable range.
And yeah, we ensure kernel text and modules are inside that 2G range.