From: Thomas Gleixner <tglx@linutronix.de>
To: "Woodruff, Richard" <r-woodruff2@ti.com>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>
Subject: RE: bug seen with dynticks from CONFIG_HARDIRQS_SW_RESEND
Date: Thu, 17 May 2007 22:38:16 +0200 [thread overview]
Message-ID: <1179434296.12981.14.camel@chaos> (raw)
In-Reply-To: <3B6D69C3A9EBCA4BA5DA60D913027429010258E8@dlee13.ent.ti.com>
On Thu, 2007-05-17 at 15:14 -0500, Woodruff, Richard wrote:
> > which code is disabling / enabling the timer interrupt ?
>
> - No one in this case is calling enable_irq(#timer). The failure is
> triggered from a non-tick-related enable_irq(#x). The function
> handle_IRQ_event() always calls handle_dynamic_tick(). Thus every real
> interrupt or fake interrupt though resend_irq will touch the timer code
> paths.
>
> To better describe:
> -0- Users space does an ioctl to driver
> -1- This driver calls enable_irq(#x)
> -2- This triggers a check_irq_resend()
> -3- This causes a tasklet schedule of the resend_tasklet for #x
> -4- This driver later does a spin_unlock_bh
> -5- This triggers a check for softirq/tasklets
> -6- The resend_tasklet is run and calls desc->handle_irq
> -7- This calls handle_level_irq
> -8- This calls handle_IRQ_event
> -9- This first calls handle_dynamic_tick
This is the original ARM dyntick stuff, right ?
The dyntick support on your architecture is broken. Why does it fiddle
with the timer, when the system is not idle ?
This stuff should go away ASAP. A lot of ARMs are already converted to
clock events are using the generic NOHZ implementation, which does not
have those problems at all.
tglx
next prev parent reply other threads:[~2007-05-17 20:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-16 23:20 bug seen with dynticks from CONFIG_HARDIRQS_SW_RESEND Woodruff, Richard
2007-05-17 10:10 ` Thomas Gleixner
2007-05-17 20:14 ` Woodruff, Richard
2007-05-17 20:38 ` Thomas Gleixner [this message]
2007-05-17 22:24 ` Woodruff, Richard
2007-05-18 7:49 ` Thomas Gleixner
2008-04-18 15:43 ` Higer latency with dynamic tick (need for an io-ondemand govenor?) Woodruff, Richard
2008-04-19 3:45 ` [linux-pm] " David Brownell
2008-04-19 7:13 ` Thomas Gleixner
2008-04-19 22:49 ` david
2008-04-20 3:51 ` David Brownell
2008-04-20 6:19 ` Arjan van de Ven
2008-04-20 14:09 ` Woodruff, Richard
2008-04-20 12:41 ` Andi Kleen
2008-04-20 14:21 ` Woodruff, Richard
2008-04-20 14:26 ` Andi Kleen
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=1179434296.12981.14.camel@chaos \
--to=tglx@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=r-woodruff2@ti.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