lkml.org 
[lkml]   [2012]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3] sched: balance_cpu to consider other cpus in its group as target of (pinned) task
From
Date
On Tue, 2012-06-19 at 17:43 +0530, Prashanth Nageshappa wrote:
> + new_dst_cpu = cpumask_first_and(env->dst_grpmask,
> + tsk_cpus_allowed(p));


> + if ((env.flags & LBF_SOME_PINNED) && env.imbalance > 0 &&
> + lb_iterations++ < max_lb_iterations) {

Hmm, too bad dst_grpmask isn't an actual mask, otherwise we could simply
clear the cpu we just had, just like the ALL_PINNED does with cpus.


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