Re: [v9 2/5] mm: implement mem_cgroup_scan_tasks() for the root memory cgroup

2017-10-03 Thread Roman Gushchin
On Tue, Oct 03, 2017 at 12:49:39PM +0200, Michal Hocko wrote: > On Wed 27-09-17 14:09:33, Roman Gushchin wrote: > > Implement mem_cgroup_scan_tasks() functionality for the root > > memory cgroup to use this function for looking for a OOM victim > > task in the root memory cgroup by the cgroup-ware

Re: [v9 2/5] mm: implement mem_cgroup_scan_tasks() for the root memory cgroup

2017-10-03 Thread Michal Hocko
On Wed 27-09-17 14:09:33, Roman Gushchin wrote: > Implement mem_cgroup_scan_tasks() functionality for the root > memory cgroup to use this function for looking for a OOM victim > task in the root memory cgroup by the cgroup-ware OOM killer. > > The root memory cgroup should be treated as a leaf cg

[v9 2/5] mm: implement mem_cgroup_scan_tasks() for the root memory cgroup

2017-09-27 Thread Roman Gushchin
Implement mem_cgroup_scan_tasks() functionality for the root memory cgroup to use this function for looking for a OOM victim task in the root memory cgroup by the cgroup-ware OOM killer. The root memory cgroup should be treated as a leaf cgroup, so only tasks which are directly belonging to the ro