freebsd-skq/sys/mips
Alan Cox 1c951556bc MFamd64/i386
Introduce pmap_try_insert_pv_entry(), a function that conditionally
  creates a pv entry if the number of entries is below the high water mark
  for pv entries.

  Introduce pmap_enter_quick_locked() and use it to reimplement
  pmap_enter_object().  The old implementation was broken.  For example,
  it could block while holding a mutex lock.

  Change pmap_enter_quick_locked() to fail rather than wait if it is
  unable to allocate a page table page.  This prevents a race between
  pmap_enter_object() and the page daemon.  Specifically, an inactive
  page that is a successor to the page that was given to
  pmap_enter_quick_locked() might become a cache page while
  pmap_enter_quick_locked() waits and later pmap_enter_object() maps
  the cache page violating the invariant that cache pages are never
  mapped.  Similarly, change
  pmap_enter_quick_locked() to call pmap_try_insert_pv_entry() rather
  than pmap_insert_entry().  Generally speaking,
  pmap_enter_quick_locked() is used to create speculative mappings.  So,
  it should not try hard to allocate memory if free memory is scarce.

Tested by:	gonzo
2009-04-20 03:44:54 +00:00
..
adm5120 Remove redundant assignment. 2008-12-11 07:00:23 +00:00
compile
conf Make gpart the default partitioning class on all platforms. 2008-12-17 17:43:22 +00:00
idt o Code cleanup, remove unused fields of idtpci_softc 2009-01-14 22:46:13 +00:00
include Add description and cautionary note regarding CACHE_LINE_SIZE. 2009-04-19 21:26:36 +00:00
malta o Simplify code: trade 15 lines of case for one multiplication 2009-01-14 22:32:43 +00:00
mips MFamd64/i386 2009-04-20 03:44:54 +00:00
sentry5 Remove reference to machine/tlb.h. It no longer exists, and isn't 2008-09-26 04:45:56 +00:00