Date: Wed, 25 Feb 2015 13:38:03 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 198014] Signals can lead to an inconsistency in PI mutex ownership Message-ID: <bug-198014-8-dGby6ZZaaM@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-198014-8@https.bugs.freebsd.org/bugzilla/> References: <bug-198014-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198014 --- Comment #9 from Konstantin Belousov <kib@FreeBSD.org> --- I agree with all three patches, with one detail. In the first patch, which does umtx_pi_disown() for empty queue, shouldn't the case of pi->pi_owner != curthread be handled the same as it is done in the non-empty queue case ? The 'might' condition from the the comment really means that the umutex and the kernel state are un-synchronized, and the 'userland messed the mutex' situation is applicable in the same way there. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198014-8-dGby6ZZaaM>