Re: [PATCH 1/4] hung_task: Move hung_task sysctl interface to hung_task_sysctl.c

2020-05-15 Thread Luis Chamberlain
On Fri, May 15, 2020 at 09:03:54AM -0700, Kees Cook wrote: > On Fri, May 15, 2020 at 04:56:34PM +0800, Xiaoming Ni wrote: > > On 2020/5/15 16:04, Kees Cook wrote: > > > On Fri, May 15, 2020 at 12:33:41PM +0800, Xiaoming Ni wrote: > > > > Move hung_task sysctl interface to hung_task_sysctl.c. > > >

Re: [PATCH 1/4] hung_task: Move hung_task sysctl interface to hung_task_sysctl.c

2020-05-15 Thread Kees Cook
On Fri, May 15, 2020 at 04:56:34PM +0800, Xiaoming Ni wrote: > On 2020/5/15 16:04, Kees Cook wrote: > > On Fri, May 15, 2020 at 12:33:41PM +0800, Xiaoming Ni wrote: > > > Move hung_task sysctl interface to hung_task_sysctl.c. > > > Use register_sysctl() to register the sysctl interface to avoid > >

Re: [PATCH 1/4] hung_task: Move hung_task sysctl interface to hung_task_sysctl.c

2020-05-15 Thread Xiaoming Ni
On 2020/5/15 16:04, Kees Cook wrote: On Fri, May 15, 2020 at 12:33:41PM +0800, Xiaoming Ni wrote: Move hung_task sysctl interface to hung_task_sysctl.c. Use register_sysctl() to register the sysctl interface to avoid merge conflicts when different features modify sysctl.c at the same time. Sign

Re: [PATCH 1/4] hung_task: Move hung_task sysctl interface to hung_task_sysctl.c

2020-05-15 Thread Kees Cook
On Fri, May 15, 2020 at 12:33:41PM +0800, Xiaoming Ni wrote: > Move hung_task sysctl interface to hung_task_sysctl.c. > Use register_sysctl() to register the sysctl interface to avoid > merge conflicts when different features modify sysctl.c at the same time. > > Signed-off-by: Xiaoming Ni > ---

[PATCH 1/4] hung_task: Move hung_task sysctl interface to hung_task_sysctl.c

2020-05-14 Thread Xiaoming Ni
Move hung_task sysctl interface to hung_task_sysctl.c. Use register_sysctl() to register the sysctl interface to avoid merge conflicts when different features modify sysctl.c at the same time. Signed-off-by: Xiaoming Ni --- include/linux/sched/sysctl.h | 8 + kernel/Makefile |