From: Grygorii Strashko <grygorii.strashko@ti.com>
To: Frederic Weisbecker <frederic@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Greg KH <gregkh@linuxfoundation.org>,
LKML <linux-kernel@vger.kernel.org>,
Ingo Molnar <mingo@kernel.org>,
Anna-Maria Gleixner <anna-maria@linutronix.de>,
<stable@vger.kernel.org>, Tero Kristo <t-kristo@ti.com>
Subject: Re: [PATCH] nohz: Fix missing tick reprog while interrupting inline timer softirq
Date: Tue, 28 Aug 2018 12:56:53 -0500 [thread overview]
Message-ID: <47d2416d-6359-1f48-311d-404fb5bfa3a8@ti.com> (raw)
In-Reply-To: <20180824184103.GD2730@lerouge>
On 08/24/2018 01:41 PM, Frederic Weisbecker wrote:
> On Fri, Aug 24, 2018 at 11:10:44AM -0500, Grygorii Strashko wrote:
>> Yes. i do not see local_softirq_pending messages any more
>>
>> But one question, just to clarify, after patch "nohz: Fix missing tick reprog while interrupting inline timer softirq"
>> the tick_nohz_irq_exit() will be called few times in case of nested interrupts (min 2):
>> gic_handle_irq
>> |- irq_exit
>> |- preempt_count_sub(HARDIRQ_OFFSET);
>> |-__do_softirq
>> <irqs enabled>
>> |- gic_handle_irq()
>> |- irq_exit()
>> |- tick_irq_exit()
>> if (!in_irq())
>> tick_nohz_irq_exit(); <-- [1]
>> |- tick_irq_exit()
>> if (!in_irq())
>> tick_nohz_irq_exit(); <-- [2]
>>
>> Is it correct? in 4.14 tick_nohz_irq_exit() is much more complex then in LKML now,
>> and this is hot path.
>
> That's correct and it's indeed more costly in 4.14 as then the tick is going to be programmed
> twice.
>
Sry, that disturbing you all, but what are the conclusion here for 4.14.y?
- take Thomas's patch https://lore.kernel.org/patchwork/patch/969521/#1162900
- revert commit 2d898915ccf4838c04531c51a598469e921a5eb5
--
regards,
-grygorii
next prev parent reply other threads:[~2018-08-28 17:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-31 22:52 Frederic Weisbecker
2018-08-01 12:03 ` Anna-Maria Gleixner
2018-08-01 17:46 ` Thomas Gleixner
2018-08-01 21:08 ` Frederic Weisbecker
2018-08-03 11:42 ` Thomas Gleixner
2018-08-23 22:57 ` Grygorii Strashko
2018-08-24 6:17 ` Greg KH
2018-08-24 7:01 ` Thomas Gleixner
2018-08-24 14:27 ` Frederic Weisbecker
2018-08-24 16:10 ` Grygorii Strashko
2018-08-24 18:41 ` Frederic Weisbecker
2018-08-28 17:56 ` Grygorii Strashko [this message]
2018-08-30 14:10 ` John Crispin
2018-08-30 14:29 ` Thomas Gleixner
2018-08-24 16:14 ` Grygorii Strashko
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=47d2416d-6359-1f48-311d-404fb5bfa3a8@ti.com \
--to=grygorii.strashko@ti.com \
--cc=anna-maria@linutronix.de \
--cc=frederic@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=stable@vger.kernel.org \
--cc=t-kristo@ti.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®