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

Alan Cox alc at FreeBSD.org
Thu Nov 29 23:14:43 PST 2007


alc         2007-11-30 07:14:42 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      pmap.c 
    sys/i386/i386        pmap.c 
  Log:
  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.
  
  MFC after: 6 weeks
  
  Revision  Changes    Path
  1.596     +14 -12    src/sys/amd64/amd64/pmap.c
  1.600     +21 -31    src/sys/i386/i386/pmap.c


More information about the cvs-all mailing list