From: Dietmar Eggemann <dietmar.eggemann@arm.com>
To: Hao Jia <jiahao.os@bytedance.com>,
mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com,
vincent.guittot@linaro.org, rostedt@goodmis.org,
bsegall@google.com, mgorman@suse.de, bristot@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sched/core: Avoid obvious double update_rq_clock warning
Date: Thu, 21 Apr 2022 14:30:01 +0200 [thread overview]
Message-ID: <13b9fa7f-7ac9-5c1e-a0ff-6b57cb38f28c@arm.com> (raw)
In-Reply-To: <20220418090929.54005-1-jiahao.os@bytedance.com>
On 18/04/2022 11:09, Hao Jia wrote:
[...]
> - /*
> - * Update the later_rq clock here, because the clock is used
> - * by the cpufreq_update_util() inside __add_running_bw().
> - */
> - update_rq_clock(later_rq);
> - activate_task(later_rq, next_task, ENQUEUE_NOCLOCK);
> + activate_task(later_rq, next_task, 0);
IMHO, this change should go in a separate deadline patch.
The change to call update_rq_clock() before activate_task()
(840d719604b09) is no longer needed since f4904815f97a removed the
add_running_bw() before the activate_task().
[...]
next prev parent reply other threads:[~2022-04-21 12:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-18 9:09 [PATCH] sched/core: Avoid obvious double update_rq_clock warning Hao Jia
2022-04-19 10:48 ` Peter Zijlstra
2022-04-20 8:29 ` [External] " Hao Jia
2022-04-20 19:11 ` Dietmar Eggemann
2022-04-21 7:24 ` Hao Jia
2022-04-21 10:32 ` Dietmar Eggemann
2022-04-21 12:30 ` Dietmar Eggemann [this message]
2022-04-21 13:15 ` Hao Jia
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=13b9fa7f-7ac9-5c1e-a0ff-6b57cb38f28c@arm.com \
--to=dietmar.eggemann@arm.com \
--cc=bristot@redhat.com \
--cc=bsegall@google.com \
--cc=jiahao.os@bytedance.com \
--cc=juri.lelli@redhat.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;
as well as URLs for NNTP newsgroup(s).