Re: [PATCH] prevent sparc64 from invoking irq handlers on offline CPUs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 08, 2008 at 05:17:08PM -0700, David Miller wrote:
> From: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>
> Date: Wed, 3 Sep 2008 08:42:17 -0700
> > o	Timer irqs.  Not sure what happens to add_timer() calls from
> > 	a CPU that is going offline.  The hope would be that they get
> > 	queued to some other CPU?
> 
> This case is interesting, and I'm no sure what happens here.

It turns out that there is a timer_cpu_modifier() that invokes
migrate_timers() upon CPU_DEAD or CPU_DEAD_FROZEN.  And migrate_timers()
looks like it does what its name says.  And I believe that CPU_DEAD
happens after sparc64's local_irq_enable() window, so we should be OK.

							Thanx, Paul
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux