Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2015 15:40:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-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-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: harrison.grundy@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197923-8>