Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2007 07:14:42 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c
Message-ID:  <200711300714.lAU7Ehk0099456@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711300714.lAU7Ehk0099456>