Re: [PATCH] kernel/watchdog.c: convert {soft/hard}lockup boot parameters to sysctl aliases

From: Vlastimil Babka
Date: Mon May 11 2020 - 06:28:28 EST


On 5/7/20 11:46 PM, Guilherme G. Piccoli wrote:
> After a recent change introduced by Vlastimil's series [0], kernel is
> able now to handle sysctl parameters on kernel command line; also, the
> series introduced a simple infrastructure to convert legacy boot
> parameters (that duplicate sysctls) into sysctl aliases.
>
> This patch converts the watchdog parameters softlockup_panic and
> {hard,soft}lockup_all_cpu_backtrace to use the new alias infrastructure.
> It fixes the documentation too, since the alias only accepts values 0
> or 1, not the full range of integers. We also took the opportunity here
> to improve the documentation of the previously converted hung_task_panic
> (see the patch series [0]) and put the alias table in alphabetical order.
>
> [0] lore.kernel.org/lkml/20200427180433.7029-1-vbabka@xxxxxxx
>
> Signed-off-by: Guilherme G. Piccoli <gpiccoli@xxxxxxxxxxxxx>

Ah, so I did miss some, as the Documentation file doesn't mention there is also
a sysctl for those parameters. Maybe it should?

Anyway, thanks.
Acked-by: Vlastimil Babka <vbabka@xxxxxxx>