Messages in this thread | | | From | "H. Peter Anvin" <> | Subject | [RFC PATCH 0/3] x86, boot: Low memory reservation fixes | Date | Mon, 11 Nov 2013 16:16:44 -0800 |
| |
From: "H. Peter Anvin" <hpa@linux.intel.com>
On all but the tiniest of modern systems, losing half a megabyte of RAM is a small price to pay for system stability. Thus, switch the default for low memory reservation to 640K. This has been possible, but has not been the default, since v3.9, specifically checkin:
95c9608478d6 x86, mm: Move reserving low memory later in initialization
The above checkin exposes a problem with our reservation ordering; specifically setup_bios_corruption_check() is called too early, so fix that. This caused the BIOS corruption check to run on memory that would have been reserved anyway.
Finally, change the low memory check scanner to scan 640K rather than 64K by default. The low memory check scanner will be a noop in the common case, as it now will only grab memory that is not otherwise reserved; this makes it purely a diagnostic tool.
H. Peter Anvin (3): x86, boot: Move setup_bios_corruption_check() later x86, boot: Change the default for X86_RESERVE_LOW to 640K, make EXPERT x86, boot: Change the BIOS corruption checker to scan 640K
| |