Re: [PATCH V2] clocksource: register cpu notifier to remove timer from dying CPU

From: Thomas Gleixner
Date: Wed May 07 2014 - 06:08:47 EST


On Wed, 9 Apr 2014, Viresh Kumar wrote:
> This patch tries to fix this by registering cpu notifiers from clocksource core,
> only when we start clocksource-watchdog. And if on the CPU_DEAD notification it
> is found that dying CPU was the CPU on which this timer is queued on, then it is
> removed from that CPU and queued to next CPU.

Gah, no. We realy don't want more notifier crap.

It's perfectly fine for the watchdog timer to be moved around on cpu
down. And the timer itself is not pinned at all. add_timer_on() does
not set the pinned bit.

Thanks,

tglx


--
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/