diff options
author | jkim <jkim@FreeBSD.org> | 2009-08-20 22:58:05 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2009-08-20 22:58:05 +0000 |
commit | f00e60c6b2379e2575b65c7711080967f3b85594 (patch) | |
tree | 0258985c2e088dac669cfb693babe784d3a12413 /sys/kern/subr_sglist.c | |
parent | 3b3396fb4af18410a50db1a9b4062ca57eabb903 (diff) | |
download | FreeBSD-src-f00e60c6b2379e2575b65c7711080967f3b85594.zip FreeBSD-src-f00e60c6b2379e2575b65c7711080967f3b85594.tar.gz |
Check whether the SMBIOS reports reasonable amount of memory. If it is
less than "avail memory", fall back to Maxmem to avoid user confusion.
We use SMBIOS information to display "real memory" since r190599 but
some broken SMBIOS implementation reported only half of actual memory.
Tested by: bz
Approved by: re (kib)
Diffstat (limited to 'sys/kern/subr_sglist.c')
0 files changed, 0 insertions, 0 deletions