cvs commit: src/sys/vm vm_object.c

Alan Cox alc at
Thu Sep 28 21:37:23 PDT 2006

alc         2006-09-29 04:37:23 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/vm               vm_object.c 
  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

More information about the cvs-src mailing list