Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2004 06:16:12 +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/vm vm.h vm_fault.c vm_map.c vm_meter.c
Message-ID:  <200408160616.i7G6GCIc055763@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2004-08-16 06:16:12 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm.h vm_fault.c vm_map.c vm_meter.c 
  Log:
   - Introduce and use a new tunable "debug.mpsafevm".  At present, setting
     "debug.mpsafevm" results in (almost) Giant-free execution of zero-fill
     page faults.  (Giant is held only briefly, just long enough to determine
     if there is a vnode backing the faulting address.)
  
     Also, condition the acquisition and release of Giant around calls to
     pmap_remove() on "debug.mpsafevm".
  
     The effect on performance is significant.  On my dual Opteron, I see a
     3.6% reduction in "buildworld" time.
  
   - Use atomic operations to update several counters in vm_fault().
  
  Revision  Changes    Path
  1.24      +13 -0     src/sys/vm/vm.h
  1.192     +11 -7     src/sys/vm/vm_fault.c
  1.360     +4 -4      src/sys/vm/vm_map.c
  1.76      +8 -0      src/sys/vm/vm_meter.c



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