[Bug 238168] kern/kern_conf.c: two 'if' statements with identical conditional expressions
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 27 11:32:46 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238168
Konstantin Belousov <kib at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |Not A Bug
Status|Open |Closed
--- Comment #1 from Konstantin Belousov <kib at FreeBSD.org> ---
The D_INIT flag might be set by another thread while we unlocked dev_mtx in the
D_NEEDGIANT block. This is a common kernel pattern, unlock, do sleepable
resource allocation, relock, and then recheck the original condition which
might be invalidated by other thread meantime.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list