[Bug 200992] proccess won't die in thread_suspend_switch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 28 07:30:29 UTC 2015


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

--- Comment #13 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Hans Petter Selasky from comment #12)
This is an layer that makes the locks work, there is no mutexes which you can
lock safely.  Even if the callout KPI is extended to support interlocking with
spinlock, this would still not provide anything to the case, because the only
natural spinlock there is thread lock, which is not real spinlock and useless
for the interlocking pattern.

The case there is inherently racy, similar to how locks implementations are
racy due to the nature of the code, and must be correctly supported.

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


More information about the freebsd-threads mailing list