From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: bigeasy@linutronix.de, fweisbec@gmail.com,
linux-kernel@vger.kernel.org, hpa@zytor.com,
peterz@infradead.org, mingo@kernel.org, tglx@linutronix.de,
anna-maria@linutronix.de
Cc: linux-tip-commits@vger.kernel.org
Subject: Re: [tip:timers/urgent] timers: Unconditionally check deferrable base
Date: Sun, 14 Jan 2018 14:44:15 -0800 [thread overview]
Message-ID: <20180114224415.GX9671@linux.vnet.ibm.com> (raw)
In-Reply-To: <tip-ed4bbf7910b28ce3c691aef28d245585eaabda06@git.kernel.org>
On Sun, Jan 14, 2018 at 02:31:07PM -0800, tip-bot for Thomas Gleixner wrote:
> Commit-ID: ed4bbf7910b28ce3c691aef28d245585eaabda06
> Gitweb: https://git.kernel.org/tip/ed4bbf7910b28ce3c691aef28d245585eaabda06
> Author: Thomas Gleixner <tglx@linutronix.de>
> AuthorDate: Sun, 14 Jan 2018 23:19:49 +0100
> Committer: Thomas Gleixner <tglx@linutronix.de>
> CommitDate: Sun, 14 Jan 2018 23:25:33 +0100
>
> timers: Unconditionally check deferrable base
>
> When the timer base is checked for expired timers then the deferrable base
> must be checked as well. This was missed when making the deferrable base
> independent of base::nohz_active.
Very cool, thank you! I have fired up some of the dreaded TREE01 tests.
Thanx, Paul
> Fixes: ced6d5c11d3e ("timers: Use deferrable base independent of base::nohz_active")
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: Anna-Maria Gleixner <anna-maria@linutronix.de>
> Cc: Frederic Weisbecker <fweisbec@gmail.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Sebastian Siewior <bigeasy@linutronix.de>
> Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
> Cc: stable@vger.kernel.org
> Cc: rt@linutronix.de
> ---
> kernel/time/timer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/time/timer.c b/kernel/time/timer.c
> index 89a9e1b..0bcf00e 100644
> --- a/kernel/time/timer.c
> +++ b/kernel/time/timer.c
> @@ -1696,7 +1696,7 @@ void run_local_timers(void)
> hrtimer_run_queues();
> /* Raise the softirq only if required. */
> if (time_before(jiffies, base->clk)) {
> - if (!IS_ENABLED(CONFIG_NO_HZ_COMMON) || !base->nohz_active)
> + if (!IS_ENABLED(CONFIG_NO_HZ_COMMON))
> return;
> /* CPU is awake, so check the deferrable base. */
> base++;
>
next parent reply other threads:[~2018-01-14 22:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <tip-ed4bbf7910b28ce3c691aef28d245585eaabda06@git.kernel.org>
2018-01-14 22:44 ` Paul E. McKenney [this message]
2018-01-15 23:57 ` [tip:timers/urgent] timers: Unconditionally check deferrable base Paul E. McKenney
2018-01-16 10:27 ` Thomas Gleixner
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=20180114224415.GX9671@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=anna-maria@linutronix.de \
--cc=bigeasy@linutronix.de \
--cc=fweisbec@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.