Re: [PATCH v3 0/4] cleaning up the sysctls table (hung_task watchdog)

2020-05-18 Thread Xiaoming Ni
On 2020/5/19 1:16, Luis Chamberlain wrote: On Mon, May 18, 2020 at 11:59:53AM +0800, Xiaoming Ni wrote: Kernel/sysctl.c contains more than 190 interface files, and there are a large number of config macro controls. When modifying the sysctl interface directly in kernel/sysctl.c, conflicts are ve

Re: [PATCH v3 0/4] cleaning up the sysctls table (hung_task watchdog)

2020-05-18 Thread Luis Chamberlain
On Mon, May 18, 2020 at 11:59:53AM +0800, Xiaoming Ni wrote: > Kernel/sysctl.c contains more than 190 interface files, and there are a > large number of config macro controls. When modifying the sysctl > interface directly in kernel/sysctl.c, conflicts are very easy to occur. > E.g: https://lkml.

[PATCH v3 0/4] cleaning up the sysctls table (hung_task watchdog)

2020-05-17 Thread Xiaoming Ni
Kernel/sysctl.c contains more than 190 interface files, and there are a large number of config macro controls. When modifying the sysctl interface directly in kernel/sysctl.c, conflicts are very easy to occur. E.g: https://lkml.org/lkml/2020/5/10/413. Use register_sysctl() to register the sysctl