From: Peter Zijlstra <peterz@infradead.org>
To: Wen Yang <wen.yang99@zte.com.cn>
Cc: mingo@redhat.com, linux-kernel@vger.kernel.org,
jiang.biao2@zte.com.cn, zhong.weidong@zte.com.cn
Subject: Re: [PATCH] sched/rt: Make update_curr_rt() more accurate
Date: Mon, 5 Feb 2018 11:30:38 +0100 [thread overview]
Message-ID: <20180205103038.GI2249@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <1517800721-42092-1-git-send-email-wen.yang99@zte.com.cn>
On Mon, Feb 05, 2018 at 11:18:41AM +0800, Wen Yang wrote:
> rq->clock_task may be updated between the two calls of
> rq_clock_task() in update_curr_rt(). Calling rq_clock_task() only
> once makes it more accurate and efficient, taking update_curr() as
> reference.
>
> Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
> Reviewed-by: Jiang Biao <jiang.biao2@zte.com.cn>
Thanks!
next prev parent reply other threads:[~2018-02-05 10:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-05 3:18 Wen Yang
2018-02-05 10:30 ` Peter Zijlstra [this message]
2018-02-05 10:31 ` Peter Zijlstra
2018-02-05 10:57 ` Ingo Molnar
2018-02-06 11:55 ` [tip:sched/urgent] " tip-bot for Wen Yang
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=20180205103038.GI2249@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=jiang.biao2@zte.com.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=wen.yang99@zte.com.cn \
--cc=zhong.weidong@zte.com.cn \
/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
Powered by JetHome