kernel - Implement segment pmap optimizations for x86-64 (3)
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 13 Sep 2012 17:58:19 +0000 (10:58 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 13 Sep 2012 18:06:16 +0000 (11:06 -0700)
commitfb4ca0183366cda0c6df8282b88ada2fab64a3b1
tree0172b17f3ab9660c786f8fea1b35674e1fe60ee1
parent99c2cc558acf8f55930bcfd36c112e8953b5f89c
kernel - Implement segment pmap optimizations for x86-64 (3)

* Fix pmap optimization bugs triggered by XORG (startx) and postgres/mmap

* The simple-mode pmaps embedded in VM objects do not have the PML4 or PDP
  layer.  This caused pmap_scan() to miss pages, resulting in an assertion
  and panic during object frees if the objects were large enough.

* Improve postgres 9.2/mmap, still more work to go.
sys/cpu/x86_64/include/param.h
sys/platform/pc64/x86_64/pmap.c