Re: [Devel] [PATCH rh7] oom: fix NULL ptr deref on oom if memory cgroup is disabled

2016-04-29 Thread Konstantin Khorenko
Going to send it to mainstream? -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 04/27/2016 04:09 PM, Vladimir Davydov wrote: mem_cgroup_iter and try_get_mem_cgroup_from_mm return NULL in this case, handle this properly. https://jira.sw.ru/browse/PSBM-43328

[Devel] [PATCH rh7] oom: fix NULL ptr deref on oom if memory cgroup is disabled

2016-04-27 Thread Vladimir Davydov
mem_cgroup_iter and try_get_mem_cgroup_from_mm return NULL in this case, handle this properly. https://jira.sw.ru/browse/PSBM-43328 Signed-off-by: Vladimir Davydov --- include/linux/memcontrol.h | 5 +++-- mm/memcontrol.c| 4 +++- mm/oom_kill.c