Re: [PATCH v3] sched: balance_cpu to consider other cpus in itsgroup as target of (pinned) task

From: Srivatsa Vaddagiri
Date: Thu Jun 21 2012 - 00:24:31 EST


* Srivatsa Vaddagiri <vatsa@xxxxxxxxxxxxxxxxxx> [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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/