lkml.org 
[lkml]   [2009]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] clockevents_notify() need to be called with irq's enabled
From
Date
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



\
 
 \ /
  Last update: 2009-08-14 09:25    [W:0.061 / U:0.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site