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

From: Gerd Hoffmann
Date: Thu Apr 06 2023 - 07:58:17 EST


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