cvs commit: src/sys/vm vm_object.c

Alan Cox alc at
Tue Aug 15 17:51:40 UTC 2006

alc         2006-08-15 17:51:02 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/vm               vm_object.c 
  MFC revision 1.360
    Ensure that vm_object_deallocate() doesn't dereference a stale object
    pointer: When vm_object_deallocate() sleeps because of a non-zero
    paging in progress count on either object or object's shadow,
    vm_object_deallocate() must ensure that object is still the shadow's
    backing object when it reawakens.  In fact, object may have been
    deallocated while vm_object_deallocate() slept.  If so, reacquiring
    the lock on object can lead to a deadlock.
  Revision   Changes    Path
  1.349.2.5  +13 -6     src/sys/vm/vm_object.c

More information about the cvs-src mailing list