kernel - Implement segment pmap optimizations for x86-64 (4)
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 13 Sep 2012 18:39:11 +0000 (11:39 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 13 Sep 2012 18:39:11 +0000 (11:39 -0700)
commiteb010d6e868d690bf48ae26fcea1e1a7bddcf642
treea832738689952886a1706bc27ec290433c4f3348
parentee303bb97fa6980b4b82f1cc614aa27e8e5d331a
kernel - Implement segment pmap optimizations for x86-64 (4)

* Fix pmap_pte_quick() when it is called on a VM object's simple pmap.
  Fixes a panic during postgres init w/ postgres/mmap.  Simple pmaps
  do not have PDP or PML4 pages or pv_entry's, only from PD on down.

* Do some minor API work on the pte-indexing functions.
sys/platform/pc64/x86_64/pmap.c