[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 Feb 22 15:40:48 UTC 2015


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

            Bug ID: 197923
           Summary: [patch] [sched] Fix comment in sched_balance_pair and
                    move load check ahead of lock
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
               URL: https://github.com/AstrodogInc/freebsd_schedulers/blob
                    /master/ule_patches/fix_sched_balance_pair_comment_and
                    _move_lock.diff
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: harrison.grundy at astrodoggroup.com

Created attachment 153318
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153318&action=edit
Fix comment in sched_balance_pair and move load check ahead of lock

Comment in sched_balance_pair suggests that it may balance more than one thread
at a time, while tdq_move operates on only one thread.

Also move load check to before tdq_lock_pair, as the tdq lock is not required
to
check load.

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


More information about the freebsd-bugs mailing list