Date: Mon, 13 Jun 2016 15:53:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-threads@FreeBSD.org Subject: [Bug 210093] Redundant sq initialization in kern/subr_sleepqueue Message-ID: <bug-210093-16-bNEWLCOvK0@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-210093-16@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210093 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #2 from Konstantin Belousov <kib@FreeBSD.org> --- (In reply to Bulat from comment #1) Earlier assignment is performed only under invariants, i.e. in the debugging kernel. Later one is for the normal control flow. So yes, for the invariants-enabled kernel the second assignment is excessive, but there is no point of optimizing for INVARIANTS, which performs lot of algorithmically unneeded work to make more robust checks. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210093-16-bNEWLCOvK0>
