cvs commit: src/sys/vm vm_fault.c

Alan Cox alc at FreeBSD.org
Sat Aug 23 01:52:48 PDT 2003


alc         2003/08/22 23:52:32 PDT

  FreeBSD src repository

  Modified files:
    sys/vm               vm_fault.c 
  Log:
  To implement the sequential access optimization, vm_fault() may need to
  reacquire the "first" object's lock while a backing object's lock is held.
  Since this is a lock-order reversal, vm_fault() uses trylock to acquire
  the first object's lock, skipping the sequential access optimization in
  the unlikely event that the trylock fails.
  
  Revision  Changes    Path
  1.175     +10 -8     src/sys/vm/vm_fault.c


More information about the cvs-src mailing list