From: Peter Zijlstra <peterz@infradead.org>
To: Prashanth Nageshappa <prashanth@linux.vnet.ibm.com>
Cc: mingo@kernel.org, LKML <linux-kernel@vger.kernel.org>,
roland@kernel.org, Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>,
efault@gmx.de, Ingo Molnar <mingo@elte.hu>
Subject: Re: [PATCH v3] sched: balance_cpu to consider other cpus in its group as target of (pinned) task
Date: Wed, 20 Jun 2012 19:40:48 +0200 [thread overview]
Message-ID: <1340214048.21745.124.camel@twins> (raw)
In-Reply-To: <4FE06CDB.2060605@linux.vnet.ibm.com>
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.
next prev parent reply other threads:[~2012-06-20 17:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-19 12:13 [PATCH v3] sched: balance_cpu to consider other cpus in its group as target of (pinned) task Prashanth Nageshappa
2012-06-20 17:38 ` Peter Zijlstra
2012-06-21 3:40 ` Srivatsa Vaddagiri
2012-06-21 4:23 ` Srivatsa Vaddagiri
2012-06-21 5:24 ` Prashanth Nageshappa
2012-06-21 8:34 ` Peter Zijlstra
2012-06-20 17:40 ` Peter Zijlstra [this message]
2012-07-06 6:23 ` [tip:sched/core] sched: Improve balance_cpu() " tip-bot for Srivatsa Vaddagiri
2012-07-24 14:20 ` tip-bot for Srivatsa Vaddagiri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1340214048.21745.124.camel@twins \
--to=peterz@infradead.org \
--cc=efault@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@kernel.org \
--cc=prashanth@linux.vnet.ibm.com \
--cc=roland@kernel.org \
--cc=vatsa@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).