[PATCH v9 15/17] mm: Generalize shrink_slab() calls in shrink_node()

2018-07-09 Thread Kirill Tkhai
From: Vladimir Davydov The patch makes shrink_slab() be called for root_mem_cgroup in the same way as it's called for the rest of cgroups. This simplifies the logic and improves the readability. Signed-off-by: Vladimir Davydov ktkhai: Description written. Signed-off-by: Kirill Tkhai

[PATCH v9 15/17] mm: Generalize shrink_slab() calls in shrink_node()

2018-07-09 Thread Kirill Tkhai
From: Vladimir Davydov The patch makes shrink_slab() be called for root_mem_cgroup in the same way as it's called for the rest of cgroups. This simplifies the logic and improves the readability. Signed-off-by: Vladimir Davydov ktkhai: Description written. Signed-off-by: Kirill Tkhai