Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2006 04:37:23 +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_object.c
Message-ID:  <200609290437.k8T4bNcT008424@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2006-09-29 04:37:23 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/vm               vm_object.c 
  Log:
  MFC revision 1.358:
   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.
  
  Approved by: re
  
  Revision   Changes    Path
  1.349.2.6  +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?200609290437.k8T4bNcT008424>