Re: [PATCH] kernel/hung_task.c: Introduce sysctl to print all traces when a hung task is detected

From: Tetsuo Handa
Date: Sat Mar 14 2020 - 22:04:49 EST


On 2020/03/14 12:12, Kees Cook wrote:
> On Fri, Mar 13, 2020 at 02:23:37PM -0300, Guilherme G. Piccoli wrote:
>> Kees / Testsuo, are you OK with this patch once I resend with the
>> suggestions you gave me?
>
> I think so, yes. Send a v2 (to akpm with us in CC).
>
>> Is there anybody else I should loop in the patch that should take a
>> look? Never sent sysctl stuff before, sorry if I forgot somebody heheh
>
> akpm usually takes these kinds of things.
>

Well, maybe sysctl_hung_task_all_cpu_backtrace = 1 by default is better for
compatibility? Please CC or BCC kernel-testing people so that they can add
hung_task_all_cpu_backtrace=1 kernel command line parameter to their testing
environments if sysctl_hung_task_all_cpu_backtrace = 0 by default.