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

From: Guilherme G. Piccoli
Date: Tue Mar 24 2020 - 08:48:17 EST


On 24/03/2020 05:27, Vlastimil Babka wrote:
> [...]
> Before adding a new thing as both kernel parameter and sysctl, could we perhaps
> not add the kernel parameter, in favor of the generic sysctl parameter solution?
> [1] There were no objections and some support from Kees, so I will try to send a
> new version ASAP that will work properly with all "static" sysctls - we don't
> need to be blocked by a full solution for dynamically registered sysctls yet, I
> guess?
>
> Thanks,
> Vlastimil
>
> [1] https://lore.kernel.org/linux-api/20200317132105.24555-1-vbabka@xxxxxxx/
>

Thanks Randy and Vlastimil for the comments. I really liked your
approach Vlastimil, I agree that we have no reason to not have a generic
sysctl setting via cmdline mechanism - I'll rework this patch removing
the kernel parameter (same for other patch I just submitted).

If you can CC me on the new iterations of the generic sysctl patches
Vlastimil, I appreciate - I can maybe test that, I'd like to see it in
kernel.

Thanks,


Guilherme