From: Suresh Siddha <suresh.b.siddha@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: "mingo@elte.hu" <mingo@elte.hu>, "hpa@zytor.com" <hpa@zytor.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>,
"Brown, Len" <len.brown@intel.com>
Subject: Re: [patch] clockevents_notify() need to be called with irq's enabled
Date: Fri, 14 Aug 2009 00:26:18 -0700 [thread overview]
Message-ID: <1250234778.2965.8.camel@sbs-t61> (raw)
In-Reply-To: <alpine.LFD.2.00.0908140753370.1283@localhost.localdomain>
On Thu, 2009-08-13 at 23:05 -0700, Thomas Gleixner wrote:
> On Thu, 13 Aug 2009, Suresh Siddha wrote:
>
> > From: Suresh Siddha <suresh.b.siddha@intel.com>
> > Subject: clockevents_notify() need to be called with irq's enabled
> >
> > Currently clockevents_notify() is called with interrupts enabled at some
> > places and interrupts disabled at some other places.
>
> The only place I can see which calls clockevents_notify with
> interrupts enabled is the hrtimer cpu hotplug code.
>
> I'm a bit wary to enable interrupts all over the place in sensitive
> corners like ACPI idle code ...
>
> Why don't we just do the obvious and take clockevents_lock irqsave ?
We didn't go that route because of the smp_call_function() in the cpu
hotplug code. So we can't disable interrupts in that path.
ACPI idle code changes were ok'd by Venki. We did 4 or so hours testing
with our patch. Will do more testing in the coming days.
thanks,
suresh
next prev parent reply other threads:[~2009-08-14 7:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-13 22:48 Suresh Siddha
2009-08-14 6:05 ` Thomas Gleixner
2009-08-14 7:26 ` Suresh Siddha [this message]
2009-08-14 8:28 ` Thomas Gleixner
2009-08-14 17:39 ` Suresh Siddha
2009-08-14 20:01 ` Thomas Gleixner
2009-08-17 21:22 ` Suresh Siddha
2009-08-17 21:27 ` Thomas Gleixner
2009-08-17 21:34 ` Suresh Siddha
2009-08-19 16:18 ` [tip:timers/urgent] clockevent: Prevent dead lock on clockevents_lock tip-bot for Suresh Siddha
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=1250234778.2965.8.camel@sbs-t61 \
--to=suresh.b.siddha@intel.com \
--cc=hpa@zytor.com \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
--cc=venkatesh.pallipadi@intel.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®