From: Valentin Schneider <valentin.schneider@arm.com>
To: Yafang Shao <laoar.shao@gmail.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Juri Lelli <juri.lelli@redhat.com>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
Steven Rostedt <rostedt@goodmis.org>,
Benjamin Segall <bsegall@google.com>,
Mel Gorman <mgorman@suse.de>,
Daniel Bristot de Oliveira <bristot@redhat.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [RFC PATCH 1/1] sched: do active load balance in balance callback
Date: Wed, 14 Jul 2021 13:27:24 +0100 [thread overview]
Message-ID: <87tukxm66r.mognet@arm.com> (raw)
In-Reply-To: <CALOAHbAS26LP2p9Fe7m6xynZmazYENmx_HfTV4LebwPWr7XLmA@mail.gmail.com>
On 11/07/21 15:40, Yafang Shao wrote:
> diff --git a/kernel/sched/core.c b/kernel/sched/core.c
> index 4ca80df205ce..a0a90a37e746 100644
> --- a/kernel/sched/core.c
> +++ b/kernel/sched/core.c
> @@ -8208,6 +8208,7 @@ void __init sched_init(void)
> rq->cpu_capacity = rq->cpu_capacity_orig = SCHED_CAPACITY_SCALE;
> rq->balance_callback = &balance_push_callback;
> rq->active_balance = 0;
> + rq->active_balance_target = NULL;
> rq->next_balance = jiffies;
> rq->push_cpu = 0;
> rq->cpu = i;
> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
> index 23663318fb81..9aaa75250cdc 100644
> --- a/kernel/sched/fair.c
> +++ b/kernel/sched/fair.c
> @@ -7751,36 +7751,6 @@ static void detach_task(struct task_struct *p,
> struct lb_env *env)
Your mail client is breaking lines which pretty much wrecks the
patch. Please use git send-email to submit patches, or look at
Documentation/process/email-clients.rst to figure out how to tweak your
client.
next prev parent reply other threads:[~2021-07-14 12:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-11 7:40 [RFC PATCH 1/1] sched: do active load balance in balance callback Yafang Shao
2021-07-14 12:27 ` Valentin Schneider [this message]
2021-07-14 14:18 ` Dietmar Eggemann
2021-07-19 12:03 ` Yafang Shao
2021-07-14 14:23 ` Dietmar Eggemann
2021-07-19 12:11 ` Yafang Shao
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=87tukxm66r.mognet@arm.com \
--to=valentin.schneider@arm.com \
--cc=bristot@redhat.com \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=laoar.shao@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.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