Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2003 23:52:32 -0700 (PDT)
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_fault.c
Message-ID:  <200308230652.h7N6qbaO089796@repoman.freebsd.org>

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



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