lkml.org 
[lkml]   [2012]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] sched: balance_cpu to consider other cpus in its group as target of (pinned) task
* Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> [2012-06-21 09:10:59]:

> Hmm ..I can see loop_break being incremented here:
>
> /* take a breather every nr_migrate tasks */
> if (env->loop > env->loop_break) {
> env->loop_break += sched_nr_migrate_break;

One possibility is to reset env->loop here, rather than loop_break, in
which case loop_break can remain constant across "redos" and
"more_balances"


> env->flags |= LBF_NEED_BREAK;
> goto out;
> }

- vatsa



\
 
 \ /
  Last update: 2012-06-21 07:01    [W:0.066 / U:1.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site