[lkml]   [2008]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] stack and rcu interaction bug in smp_call_function_mask()
On Sun, 10 Aug 2008 21:26:18 -0700
Jeremy Fitzhardinge <> wrote:

> Nick Piggin wrote:
> > Nice debugging work.
> >
> > I'd suggest something like the attached (untested) patch as the
> > simple fix for now.
> >
> > I expect the benefits from the less synchronized,
> > multiple-in-flight-data global queue will still outweigh the costs
> > of dynamic allocations. But if worst comes to worst then we just go
> > back to a globally synchronous one-at-a-time implementation, but
> > that would be pretty sad!
> What if we went the other way and strictly used queue-per-cpu? It
> means multicast would require multiple enqueueing operations, which
> is a bit heavy, but it does make dequeuing and lifetime management
> very simple...

as long as send-to-all is still one apic operation.. otherwise it gets
*really* expensive....
(just think about waking all cpus up out of their C-states.. one by one
getting the full exit latency sequentially)
If you want to reach me at my work email, use
For development, discussion and tips for power savings,

 \ /
  Last update: 2008-08-11 06:41    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site