Re: [PATCH 2/3] mm, oom: refactor oom_kill_process()

2018-08-01 Thread Johannes Weiner
On Mon, Jul 30, 2018 at 11:00:59AM -0700, Roman Gushchin wrote: > oom_kill_process() consists of two logical parts: the first one is > responsible for considering task's children as a potential victim and > printing the debug information. The second half is responsible for > sending SIGKILL to all

[PATCH 2/3] mm, oom: refactor oom_kill_process()

2018-07-30 Thread Roman Gushchin
oom_kill_process() consists of two logical parts: the first one is responsible for considering task's children as a potential victim and printing the debug information. The second half is responsible for sending SIGKILL to all tasks sharing the mm struct with the given victim. This commit splits