The commit is pushed to "branch-rh7-3.10.0-693.21.1.vz7.47.x-ovz" and will 
appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-693.21.1.vz7.47.2
------>
commit 46060af2b759c9458cef47cd2158130a6c7bf7cc
Author: Andrey Ryabinin <[email protected]>
Date:   Fri Apr 27 13:55:10 2018 +0300

    mm/vmscan: shrink slabs from offlined cgroups
    
    Currently shrink_slab() skips offlined cgroups during per-memcg reclaim.
    So only global reclaim can shrink slabs from offlined cgroups.
    This doesn't make any sense, we should allow reclaiming offlined
    cgroups, otherwise we can't destroy them (kmem pins memgc).
    
    https://jira.sw.ru/browse/PSBM-83628
    Signed-off-by: Andrey Ryabinin <[email protected]>
---
 mm/vmscan.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/mm/vmscan.c b/mm/vmscan.c
index 4922f734cdb4..aefa4bc33062 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -395,9 +395,6 @@ static unsigned long shrink_slab(gfp_t gfp_mask, int nid,
        struct shrinker *shrinker;
        unsigned long freed = 0;
 
-       if (memcg && !memcg_kmem_is_active(memcg))
-               return 0;
-
        if (unlikely(test_tsk_thread_flag(current, TIF_MEMDIE)))
                return 0;
 
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to