Skip to contentSkip to conversation

RFC: remove or modify check_for_bios_corruption()

DISCUSSION H. Peter Anvin 1 participant 1 message Aug 25, 2010

lore
Share & tools
lore
#0 lore raw

check_for_bios_corruption() was added to discover how many systems have BIOSes with problems corrupting low memory. The answer really is very simple... almost all. In fact, I have seen claims that Windows 7 doesn't use any memory below the 1 MiB point at all for this reason.

As such, I have queued up a patch in -tip to reserve the low 64K for all BIOSes, with an option (suggested by Andrew) to adjust the reservation further.

Since checking for corruption makes the memory unavailable anyway and since it is now established the memory is too unreliable to use, I am suggesting removing the check code completely.

The other alternative is to have it optionally scan from the reserved threshold to some higher point, and only kick in if that gap is nonzero.
That way it doesn't continually run for most users, but it might be
useful to confirm corruption if we explicitly suspect it on some system.

Thoughts?

-hpa