Re: [PATCH v2] softlockup: decouple hung tasks check from softlockup detection

From: Johannes Weiner
Date: Mon Jan 12 2009 - 09:32:44 EST


On Sun, Jan 11, 2009 at 10:52:13PM -0800, Mandeep Singh Baines wrote:
> Decoupling allows:
>
> * hung tasks check to happen at very low priority
> * hung tasks check and softlockup to be enabled/disabled independently
> at compile and/or run-time
> * individual panic settings to be enabled disabled independently
> at compile and/or run-time
> * softlockup threshold to be reduced without increasing hung tasks
> poll frequency (hung task check is expensive relative to softlock watchdog)
> * hung task check to be zero over-head when disabled at run-time
> ---
> include/linux/sched.h | 14 +++++--
> kernel/Makefile | 1 +
> kernel/softlockup.c | 102 -------------------------------------------------
> kernel/sysctl.c | 15 +++++++-
> lib/Kconfig.debug | 38 ++++++++++++++++++
> 5 files changed, 63 insertions(+), 107 deletions(-)

kernel/hung_task.c missing?

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