Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2020 22:59:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 197923] [patch] [sched] Fix comment in sched_balance_pair and move load check ahead of lock
Message-ID:  <bug-197923-227-epZl26oqFF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197923-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197923-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=3D197923

--- Comment #12 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Harrison Grundy from comment #11)
It is possible that the queues will end up unbalanced again immediately aft=
er
they are unlocked, but sched_balance_pair() has to lock the queues to perfo=
rm
the migration anyway, so it might as well cheaply verify that it's doing the
right thing before performing an expensive migration.

--=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-197923-227-epZl26oqFF>