[lvc-project] [PATCH v5 02/27] x86/build: Remove RWX sections and align on 4KB

Gerd Hoffmann kraxel at redhat.com
Thu Apr 6 14:42:00 MSK 2023


  Hi,

> > Currently paging is disabled in x86_32 in compressed kernel, so
> > protection is not applied anyways, but .init code was incorrectly
> > placed in non-executable ".data" segment. This should not change
> > anything meaningful in memory layout now, but might be required in case
> > memory protection will also be implemented in compressed kernel for
> > x86_32.
> 
> I highly doubt that - no one cares about 32-bit x86 anymore.

Indeed.  ia32 edk2 runs without paging even in latest tianocore/edk2,
and I don't expect that to change until ia32 support gets removed.

take care,
  Gerd




More information about the lvc-project mailing list