[Bug 197923] [patch] [sched] Fix comment in sched_balance_pair and move load check ahead of lock

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 22 22:42:03 UTC 2020


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

--- Comment #11 from Harrison Grundy <harrison.grundy at astrodoggroup.com> ---
(In reply to Mark Johnston from comment #10)

Right, but it seems like locking the tdq to "force" them into alignment would
have a bigger impact on performance than occassionally mis-balancing. If we
take the lock, and push a new thread onto the target, or pull one from the
source, when they're waiting on the lock somewhere else, the end result would
still be incorrect, wouldn't it?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list