Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2006 22:09:54 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm vm_object.c
Message-ID:  <200602212209.k1LM9sMN078958@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2006-02-21 22:09:54 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_object.c 
  Log:
  Lock the vm_object while checking its type to see if it is a vnode-backed
  object that requires Giant in vm_object_deallocate().  This is somewhat
  hairy in that if we can't obtain Giant directly, we have to drop the
  object lock, then lock Giant, then relock the object lock and verify that
  we still need Giant.  If we don't (because the object changed to OBJT_DEAD
  for example), then we drop Giant before continuing.
  
  Reviewed by:    alc
  Tested by:      kris
  
  Revision  Changes    Path
  1.358     +25 -11    src/sys/vm/vm_object.c



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