alc 2006-08-15 17:51:02 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/vm vm_object.c
Log:
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"