[Bug 198014] Signals can lead to an inconsistency in PI mutex ownership

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 25 14:27:59 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198014

--- Comment #11 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to eric from comment #10)
I do not have an opinion which case currently is handled more correctly.  I
tend to agree with notion that empty case handling of silent ignore of the
foreign owner is probably more appropriate.

Also, it took me some time to understand how pi_owner could be NULL.  Probably,
a comment should be added.  I also suggest to split the comment in if (pi !=
NULL) into two.  The first sentence should go before if (pi != NULL) test, and
the second sentence left as is.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list