All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Thomas Gleixner <tglx@linutronix.de>
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: Mon, 13 Apr 2015 11:06:40 -0400	[thread overview]
Message-ID: <20150413110640.40f137c4@redhat.com> (raw)
In-Reply-To: <alpine.DEB.2.11.1504111124020.3845@nanos>

On Sat, 11 Apr 2015 11:25:49 +0200 (CEST)
Thomas Gleixner <tglx@linutronix.de> wrote:

> 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.....

Fair enough. We're going to think about a different solution.

> 
> Thanks,
> 
> 	tglx
> 


      reply	other threads:[~2015-04-13 15:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-06 23:15 kernel/timer: avoid spurious ksoftirqd wakeups (v2) 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
2015-04-13 15:06           ` Luiz Capitulino [this message]

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=20150413110640.40f137c4@redhat.com \
    --to=lcapitulino@redhat.com \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=riel@redhat.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 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.