Re: [PATCH v2 05/20] alpha: change do_timer() to xtime_update()

From: Thomas Gleixner
Date: Mon Jan 31 2011 - 05:32:36 EST


On Mon, 31 Jan 2011, Thomas Gleixner wrote:

> On Thu, 27 Jan 2011, Torben Hohn wrote:
>
> > xtime_update() takes the xtime_lock itself.
> > state does not to be protected with this lock.
> > its only touched here and during init.
>
> xtime_lock very well serializes the access to state on
> SMP. timer_interrupt() is called on each cpu. So that wont work.

Hmm. No. It's bound to boot_cpu_id.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/