Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 20:44:43 -0800 (PST)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 vm_machdep.c src/sys/vm uma_core.c vm_fault.c
Message-ID:  <200403100444.i2A4ihp6024139@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2004/03/09 20:44:43 PST

  FreeBSD src repository

  Modified files:
    sys/i386/i386        vm_machdep.c 
    sys/vm               uma_core.c vm_fault.c 
  Log:
   - Make the acquisition of Giant in vm_fault_unwire() conditional on the
     pmap.  For the kernel pmap, Giant is not required.  In general, for
     other pmaps, Giant is required by i386's pmap_pte() implementation.
     Specifically, the use of PMAP2/PADDR2 is synchronized by Giant.
     Note: In principle, updates to the kernel pmap's wired count could be
     lost without Giant.  However, in practice, we never use the kernel
     pmap's wired count.  This will be resolved when pmap locking appears.
   - With the above change, cpu_thread_clean() and uma_large_free() need
     not acquire Giant.  (The first case is simply the revival of
     i386/i386/vm_machdep.c's revision 1.226 by peter.)
  
  Revision  Changes    Path
  1.230     +0 -2      src/sys/i386/i386/vm_machdep.c
  1.93      +1 -11     src/sys/vm/uma_core.c
  1.186     +4 -2      src/sys/vm/vm_fault.c



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