cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c

John Baldwin jhb at FreeBSD.org
Wed Sep 17 20:39:45 UTC 2008


jhb         2008-09-17 20:38:18 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/amd64/amd64      pmap.c 
    sys/i386/i386        pmap.c 
  Log:
  SVN rev 183127 on 2008-09-17 20:38:18Z by jhb
  
  MFC: 174104
  Improve get_pv_entry()'s handling of low-memory conditions.  After page
  allocation fails and pv entries are reclaimed, there may be an unused pv
  entry in a pv chunk that survived the reclamation.  However, previously,
  after reclamation, get_pv_entry() did not look for an unused pv entry in
  a surviving pv chunk; it simply retried the page allocation.  Now, it
  does look for an unused pv entry before retrying the page allocation.
  
  Note: This only applies to RELENG_7.  Earlier branches use a different
  pv entry allocator.
  
  Approved by:    re (kib), alc
  
  Revision   Changes    Path
  1.590.2.7  +14 -12    src/sys/amd64/amd64/pmap.c
  1.594.2.9  +21 -31    src/sys/i386/i386/pmap.c


More information about the cvs-src mailing list