Re: [PATCH v5] mm, oom: Fix race when selecting process to kill

2013-11-13 Thread Sameer Nanda
On Tue, Nov 12, 2013 at 6:33 PM, David Rientjes wrote: > On Tue, 12 Nov 2013, Sameer Nanda wrote: > >> The selection of the process to be killed happens in two spots: >> first in select_bad_process and then a further refinement by >> looking for child processes in oom_kill_process. Since this is >

Re: [PATCH v5] mm, oom: Fix race when selecting process to kill

2013-11-12 Thread David Rientjes
On Tue, 12 Nov 2013, Sameer Nanda wrote: > The selection of the process to be killed happens in two spots: > first in select_bad_process and then a further refinement by > looking for child processes in oom_kill_process. Since this is > a two step process, it is possible that the process selected

[PATCH v5] mm, oom: Fix race when selecting process to kill

2013-11-12 Thread Sameer Nanda
The selection of the process to be killed happens in two spots: first in select_bad_process and then a further refinement by looking for child processes in oom_kill_process. Since this is a two step process, it is possible that the process selected by select_bad_process may get a SIGKILL just befor