Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2019 11:32:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 238168] kern/kern_conf.c: two 'if' statements with identical conditional expressions
Message-ID:  <bug-238168-227-dcIjj26nMu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238168-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238168-227@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=3D238168

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
             Status|Open                        |Closed

--- Comment #1 from Konstantin Belousov <kib@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.

--=20
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-238168-227-dcIjj26nMu>