Re: [GIT PULL] x86/urgent for v5.13-rc5

From: Linus Torvalds
Date: Sun Jun 06 2021 - 17:23:57 EST


On Sun, Jun 6, 2021 at 1:58 PM Mike Rapoport <rppt@xxxxxxxxxxxxx> wrote:
>
> A while ago hpa said:
>
> As far as I know, Windows 7 actually reserves all memory below
> 1 MiB to avoid BIOS bugs.
>
> (https://bugzilla.kernel.org/show_bug.cgi?id=16661#c2)

It would be good to have that checked somehow.

I don't think this matters on any machine with gigs of RAM, but I do
wonder about the people who want to do small configurations. Maybe
they've given up on x86?

It also eats into that somewhat precious legacy DMA resource and eats
up a fair chunk of that. Again, not an issue on modern hardware, but
..

> I believe that reserving everything below 1M after the real mode trampoline
> is allocated reduces amount of hidden dependencies and makes things simpler
> overall.

Simpler, perhaps, and _I_ personally don't care about about 512kB of
memory any more on any machines I have, but ..

Linus