Re: [v5 PATCH 4/4] mm: thp: make deferred split shrinker memcg aware

2019-08-20 Thread Yang Shi
On 8/20/19 4:06 AM, Kirill Tkhai wrote: On 07.08.2019 05:17, Yang Shi wrote: Currently THP deferred split shrinker is not memcg aware, this may cause premature OOM with some configuration. For example the below test would run into premature OOM easily: $ cgcreate -g memory:thp $ echo 4G > /s

Re: [v5 PATCH 4/4] mm: thp: make deferred split shrinker memcg aware

2019-08-20 Thread Kirill Tkhai
On 07.08.2019 05:17, Yang Shi wrote: > Currently THP deferred split shrinker is not memcg aware, this may cause > premature OOM with some configuration. For example the below test would > run into premature OOM easily: > > $ cgcreate -g memory:thp > $ echo 4G > /sys/fs/cgroup/memory/thp/memory/lim

[v5 PATCH 4/4] mm: thp: make deferred split shrinker memcg aware

2019-08-06 Thread Yang Shi
Currently THP deferred split shrinker is not memcg aware, this may cause premature OOM with some configuration. For example the below test would run into premature OOM easily: $ cgcreate -g memory:thp $ echo 4G > /sys/fs/cgroup/memory/thp/memory/limit_in_bytes $ cgexec -g memory:thp transhuge-stre