kernel - pmap - more invltlb stuff
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 1 Jan 2010 02:52:55 +0000 (18:52 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 1 Jan 2010 02:52:55 +0000 (18:52 -0800)
commita93980ab4728c8b94efde3c006b8301590b7214a
tree01d0282cf695e057579e67e4b941ed67cf931a1e
parent0c928971343f16ec99e8088c08a19e5e44c37791
kernel - pmap - more invltlb stuff

* Make sure pmap->pm_cache is cleared when a pmap gets reused,
  fixing an issue where the pmap subsystem wasn't properly
  invltlb'ing the recycled pmap due to stale cpu cache bits.

* Add sysctl vm.dreadful_invltlb (default to off) as a debugging aid.
  Turning this on disables pmap->pm_cache and does an unconditional
  invltlb on every pmap operation.
sys/platform/pc32/i386/pmap.c