[PATCH v2] ARM: SMP_TWD: make setup()/stop() reentrant
Shawn Guo
shawn.guo at linaro.org
Mon Oct 22 10:14:51 EDT 2012
On Mon, Oct 22, 2012 at 12:14:03PM +0200, Linus Walleij wrote:
> > 2. When secondary cores get off-line, the clockevent devices for
> > the cores will be released. So when they become online, the
> > clockevent devices should be registered again.
>
> So that is how it happens. Where is the code releasing all
> clock events? I was thinking this would more properly be done
> in the .stop() path of the SMP TWD driver?
>
tick_notify() will receive CLOCK_EVT_NOTIFY_CPU_DEAD when a cpu goes
away. It results in tick_shutdown() invoking which will release the
clockevent device for the cpu.
Shawn
More information about the linux-arm-kernel
mailing list