linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] x86, boot: Low memory reservation fixes
@ 2013-11-12  0:16 H. Peter Anvin
  2013-11-12  0:16 ` [RFC PATCH 1/3] x86, boot: Move setup_bios_corruption_check() later H. Peter Anvin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: H. Peter Anvin @ 2013-11-12  0:16 UTC (permalink / raw)
  To: Ingo Molnar, Linux Kernel Mailing List, Thomas Gleixner
  Cc: Olof Johansson, H. Peter Anvin

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-11-12  9:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12  0:16 [RFC PATCH 0/3] x86, boot: Low memory reservation fixes H. Peter Anvin
2013-11-12  0:16 ` [RFC PATCH 1/3] x86, boot: Move setup_bios_corruption_check() later H. Peter Anvin
2013-11-12  0:16 ` [RFC PATCH 2/3] x86, boot: Change the default for X86_RESERVE_LOW to 640K, make EXPERT H. Peter Anvin
2013-11-12  0:16 ` [RFC PATCH 3/3] x86, boot: Change the BIOS corruption checker to scan 640K H. Peter Anvin
2013-11-12  4:07   ` Ingo Molnar
2013-11-12  7:19     ` H. Peter Anvin
2013-11-12  9:42       ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).