[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-threads
Subject: [Bug 210093] Redundant sq initialization in kern/subr_sleepqueue
From: bugzilla-noreply () freebsd ! org
Date: 2016-06-13 15:53:32
Message-ID: bug-210093-16-bNEWLCOvK0 () https ! bugs ! freebsd ! org/bugzilla/
[Download RAW message or body]
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.
_______________________________________________
freebsd-threads@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic