https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197923

Mark Johnston <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from Mark Johnston <[email protected]> ---
The comment was corrected in r329844.  I think the rest of the patch is not
correct: high->tdq_transferable == 0 implies that the run queue contains no
thread that can migrate, so tdq_move() will always fail.  We also should
perform the queue load comparison with the queue locks held, since the
situation may change after the queues are locked and we might end up migrating
a thread from a less-loaded queue to a more-loaded queue, which defeats the
goal of the code.  sched_balance_pair()'s caller already does the work of
locklessly finding a pair of unbalanced queues.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to