path: root/sys/netinet/tcp_stacks
diff options
authorKonstantin Belousov <kib@FreeBSD.org>2018-06-07 17:04:34 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2018-06-07 17:04:34 +0000
commit943defc3a0fcfb3242f1d7af7314e715080d2807 (patch)
tree98787ee31d4024d5c96989f6222391517ccb6bf9 /sys/netinet/tcp_stacks
parent1930b98d497ccb379486f054182cd73c8477cff7 (diff)
Account for dmap limit when selecting the pages for the bootstrap
pagetables. physmap[] can be inconsistent with the physical memory limit due to buggy bios, or to the hw.physmem tunable. Since bootstrap pagetables are initialized by accesses through the DMAP, we must ensure that DMAP really cover the selected pages. This is only relevant when machine has less than 4G RAM and buggy BIOS, which is the combination on Acer Chromebook 720. The call to mp_bootaddress() is moved later to have Maxmem initialized. An alternative could be to always cover 4G for DMAP, but this change seems to be simpler. Reported and tested by: grembo Reviewed by: royger Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D15675
Notes: svn path=/head/; revision=334799
Diffstat (limited to 'sys/netinet/tcp_stacks')
0 files changed, 0 insertions, 0 deletions