lkml.org 
[lkml]   [2008]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] prevent sparc64 from invoking irq handlers on offline CPUs
From
From: Manfred Spraul <manfred@colorfullife.com>
Date: Tue, 09 Sep 2008 20:49:04 +0200

> David Miller wrote:
> > And IPI handler runs in HW irq context, therefore such an IPI-creates-an-IPI
> > should not be allowed, at least not directly.
> >
> > Actually the restriction seems to be that an IPI cannot be sent when
> > "irqs_disabled()", hmmm...
> >
> >
> Does this apply to smp_send_reschedule() as well?
> A [rare] codepath in the current rcu code does to trigger quiescent states on remote cpus.

It does work on sparc64. Such an IPI doesn't do a wait so there would
be no deadlock issues either.



\
 
 \ /
  Last update: 2008-09-09 21:59    [from the cache]
©2003-2011 Jasper Spaans