Re: [PATCH] mm: introduce oom_kill_disable sysctl knob

2020-11-09 Thread Minchan Kim
On Mon, Nov 09, 2020 at 05:06:18PM +0100, Michal Hocko wrote: > On Mon 09-11-20 07:39:33, Minchan Kim wrote: > > On Mon, Nov 09, 2020 at 08:37:06AM +0100, Michal Hocko wrote: > > > On Fri 06-11-20 12:32:38, Minchan Kim wrote: > > > > It's hard to have some tests to be supposed to work under heavy >

Re: [PATCH] mm: introduce oom_kill_disable sysctl knob

2020-11-09 Thread Michal Hocko
On Mon 09-11-20 07:39:33, Minchan Kim wrote: > On Mon, Nov 09, 2020 at 08:37:06AM +0100, Michal Hocko wrote: > > On Fri 06-11-20 12:32:38, Minchan Kim wrote: > > > It's hard to have some tests to be supposed to work under heavy > > > memory pressure(e.g., injecting some memory hogger) because > > >

Re: [PATCH] mm: introduce oom_kill_disable sysctl knob

2020-11-09 Thread Minchan Kim
On Mon, Nov 09, 2020 at 08:37:06AM +0100, Michal Hocko wrote: > On Fri 06-11-20 12:32:38, Minchan Kim wrote: > > It's hard to have some tests to be supposed to work under heavy > > memory pressure(e.g., injecting some memory hogger) because > > out-of-memory killer easily kicks out one of processes

Re: [PATCH] mm: introduce oom_kill_disable sysctl knob

2020-11-08 Thread Michal Hocko
On Fri 06-11-20 12:32:38, Minchan Kim wrote: > It's hard to have some tests to be supposed to work under heavy > memory pressure(e.g., injecting some memory hogger) because > out-of-memory killer easily kicks out one of processes so system > is broken or system loses the memory pressure state since

Re: [PATCH] mm: introduce oom_kill_disable sysctl knob

2020-11-06 Thread Minchan Kim
On Fri, Nov 06, 2020 at 12:46:47PM -0800, Randy Dunlap wrote: > Hi, > > Fix a few typos: > > On 11/6/20 12:32 PM, Minchan Kim wrote: > > --- > > Documentation/admin-guide/sysctl/vm.rst | 14 ++ > > include/linux/mm.h | 2 ++ > > include/linux/oom.h

Re: [PATCH] mm: introduce oom_kill_disable sysctl knob

2020-11-06 Thread Randy Dunlap
Hi, Fix a few typos: On 11/6/20 12:32 PM, Minchan Kim wrote: > --- > Documentation/admin-guide/sysctl/vm.rst | 14 ++ > include/linux/mm.h | 2 ++ > include/linux/oom.h | 1 + > kernel/sysctl.c | 9 + > mm/oo

[PATCH] mm: introduce oom_kill_disable sysctl knob

2020-11-06 Thread Minchan Kim
It's hard to have some tests to be supposed to work under heavy memory pressure(e.g., injecting some memory hogger) because out-of-memory killer easily kicks out one of processes so system is broken or system loses the memory pressure state since it has plenty of free memory soon so. Even though we