From: Thomas Gleixner <tglx@linutronix.de>
To: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>,
Frederic Weisbecker <fweisbec@gmail.com>,
linux-kernel@vger.kernel.org, Rik van Riel <riel@redhat.com>
Subject: Re: kernel/timer: avoid spurious ksoftirqd wakeups (v2)
Date: Sat, 11 Apr 2015 11:25:49 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.11.1504111124020.3845@nanos> (raw)
In-Reply-To: <20150410213037.0ead22a3@redhat.com>
On Fri, 10 Apr 2015, Luiz Capitulino wrote:
> On Fri, 10 Apr 2015 15:09:07 -0300
> > It seems a valid solution for this interrupt is to program
> > sched_timer to the nearest future possible.
>
> What about calling the timer function right there, like
> hrtimer_interrupt() does?
No, you cannot call the timer function from the enqueue path. The
caller might hold a lock which is taken in the callback as well.....
Thanks,
tglx
next prev parent reply other threads:[~2015-04-11 9:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-06 23:15 Marcelo Tosatti
2015-04-06 23:20 ` Rik van Riel
2015-04-07 21:10 ` Thomas Gleixner
2015-04-07 22:12 ` Frederic Weisbecker
2015-04-10 18:09 ` Marcelo Tosatti
2015-04-11 1:30 ` Luiz Capitulino
2015-04-11 9:25 ` Thomas Gleixner [this message]
2015-04-13 15:06 ` Luiz Capitulino
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=alpine.DEB.2.11.1504111124020.3845@nanos \
--to=tglx@linutronix.de \
--cc=fweisbec@gmail.com \
--cc=lcapitulino@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=riel@redhat.com \
/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®