I'm working in FreeBSD 5.3-RELEASE.

In various places in the buffer management code (e.g. ibwrite()) the
buffer lock reference count is checked (see below), presumably to make
sure the buffer is safely locked before working with it.  Is there a
reason that it's not neccesary to ensure that the current thread is the
lockholder?  This seems like it could lead to a race condition where, say
ibwrite, is content because SOMEONE has the buffer locked, even if it's
not the current thread.

Thanks,
-Nate
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to