Re: [PATCH] mm: memcontrol: drain stocks on resize limit

2018-05-09 Thread Michal Hocko
On Fri 04-05-18 13:55:48, Shakeel Butt wrote: > Resizing the memcg limit for cgroup-v2 drains the stocks before > triggering the memcg reclaim. Do the same for cgroup-v1 to make the > behavior consistent. > > Signed-off-by: Shakeel Butt Acked-by: Michal Hocko

Re: [PATCH] mm: memcontrol: drain stocks on resize limit

2018-05-09 Thread Michal Hocko
On Fri 04-05-18 13:55:48, Shakeel Butt wrote: > Resizing the memcg limit for cgroup-v2 drains the stocks before > triggering the memcg reclaim. Do the same for cgroup-v1 to make the > behavior consistent. > > Signed-off-by: Shakeel Butt Acked-by: Michal Hocko > --- > mm/memcontrol.c | 7

Re: [PATCH] mm: memcontrol: drain stocks on resize limit

2018-05-07 Thread Johannes Weiner
On Fri, May 04, 2018 at 01:55:48PM -0700, Shakeel Butt wrote: > Resizing the memcg limit for cgroup-v2 drains the stocks before > triggering the memcg reclaim. Do the same for cgroup-v1 to make the > behavior consistent. > > Signed-off-by: Shakeel Butt Acked-by: Johannes

Re: [PATCH] mm: memcontrol: drain stocks on resize limit

2018-05-07 Thread Johannes Weiner
On Fri, May 04, 2018 at 01:55:48PM -0700, Shakeel Butt wrote: > Resizing the memcg limit for cgroup-v2 drains the stocks before > triggering the memcg reclaim. Do the same for cgroup-v1 to make the > behavior consistent. > > Signed-off-by: Shakeel Butt Acked-by: Johannes Weiner

[PATCH] mm: memcontrol: drain stocks on resize limit

2018-05-04 Thread Shakeel Butt
Resizing the memcg limit for cgroup-v2 drains the stocks before triggering the memcg reclaim. Do the same for cgroup-v1 to make the behavior consistent. Signed-off-by: Shakeel Butt --- mm/memcontrol.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH] mm: memcontrol: drain stocks on resize limit

2018-05-04 Thread Shakeel Butt
Resizing the memcg limit for cgroup-v2 drains the stocks before triggering the memcg reclaim. Do the same for cgroup-v1 to make the behavior consistent. Signed-off-by: Shakeel Butt --- mm/memcontrol.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/mm/memcontrol.c b/mm/memcontrol.c