From: Valentin Schneider <valentin.schneider@arm.com>
To: Lingutla Chandrasekhar <clingutla@codeaurora.org>,
linux-kernel@vger.kernel.org
Cc: juri.lelli@redhat.com, vincent.guittot@linaro.org,
dietmar.eggemann@arm.com, rostedt@goodmis.org,
pkondeti@codeaurora.org, peterz@infradead.org, mingo@kernel.org,
Lingutla Chandrasekhar <clingutla@codeaurora.org>
Subject: Re: [PATCH] sched/fair: Ignore percpu threads for imbalance pulls
Date: Thu, 18 Feb 2021 18:51:24 +0000 [thread overview]
Message-ID: <jhj35xtryz7.mognet@arm.com> (raw)
In-Reply-To: <jhjim6qsq8g.mognet@arm.com>
On 17/02/21 14:50, Valentin Schneider wrote:
> @@ -7539,6 +7539,9 @@ int can_migrate_task(struct task_struct *p, struct lb_env *env)
> if (throttled_lb_pair(task_group(p), env->src_cpu, env->dst_cpu))
> return 0;
>
> + if (kthread_is_per_cpu(p))
> + return 0;
> +
That's missing a (p->flags & PF_KTHREAD), but you get the idea...
prev parent reply other threads:[~2021-02-18 19:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-17 12:08 [PATCH] sched/fair: Ignore percpu threads for imbalance pulls Lingutla Chandrasekhar
2021-02-17 14:50 ` Valentin Schneider
2021-02-18 1:13 ` Pavan Kondeti
2021-02-18 18:51 ` Valentin Schneider [this message]
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=jhj35xtryz7.mognet@arm.com \
--to=valentin.schneider@arm.com \
--cc=clingutla@codeaurora.org \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=pkondeti@codeaurora.org \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.org \
/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