Re: [PATCH] softlockup detection vs. cpu hotplug

From: Shaohua Li
Date: Thu Feb 23 2006 - 20:30:26 EST


On Fri, 2006-02-24 at 08:31 +0800, Nathan Lynch wrote:
>
> In the watchdog thread, do touch_softlockup_watchdog in a
> non-preemptible section so that it won't touch another cpu's
> timestamp. This can happen in the window between the watchdog thread
> getting forcefully migrated during a cpu offline operation and
> kthread_should_stop.
Could we stop the thread in CPU_DOWN_PREPARE case, so it will not be
migrated to other CPUs? I suppose it's better the per-cpu thread only
runs on the specific cpu.

Thanks,
Shaohua

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