]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Cap the initial PV and PTE table preallocations. Otherwise we explode
authorpeter <peter@FreeBSD.org>
Wed, 17 Jul 2002 23:21:59 +0000 (23:21 +0000)
committerpeter <peter@FreeBSD.org>
Wed, 17 Jul 2002 23:21:59 +0000 (23:21 +0000)
commit92efaa3886f4506307513353c2f419fbcb39ebaa
treea19e00b18b968cf99fa9a7765591bf0509e39505
parent64091556dc53dde17eb869c0c1d863a19555426e
Cap the initial PV and PTE table preallocations.  Otherwise we explode
on the Itanium2 system I have when we use up *all* of the initial 256MB
direct mapped region before we are ready to dynamically expand it.

The machine that I have has 4 cpus and a very big hole in the middle.
This makes the bogus '(last_address - first_address) / PAGE_SIZE'
calculations especially dangerous and caused many millions of initial
PV/PTE's to be preallocated.
sys/ia64/ia64/pmap.c