Re: [RFC PATCH 0/2] memory.low,min reclaim

2018-04-24 Thread Roman Gushchin
On Tue, Apr 24, 2018 at 12:56:09AM +, Greg Thelen wrote: > On Mon, Apr 23, 2018 at 3:38 AM Roman Gushchin wrote: > > > Hi, Greg! > > > On Sun, Apr 22, 2018 at 01:26:10PM -0700, Greg Thelen wrote: > > > Roman's previously posted memory.low,min patches add per memcg effective > >

Re: [RFC PATCH 0/2] memory.low,min reclaim

2018-04-24 Thread Roman Gushchin
On Tue, Apr 24, 2018 at 12:56:09AM +, Greg Thelen wrote: > On Mon, Apr 23, 2018 at 3:38 AM Roman Gushchin wrote: > > > Hi, Greg! > > > On Sun, Apr 22, 2018 at 01:26:10PM -0700, Greg Thelen wrote: > > > Roman's previously posted memory.low,min patches add per memcg effective > > > low limit

Re: [RFC PATCH 0/2] memory.low,min reclaim

2018-04-23 Thread Greg Thelen
On Mon, Apr 23, 2018 at 3:38 AM Roman Gushchin wrote: > Hi, Greg! > On Sun, Apr 22, 2018 at 01:26:10PM -0700, Greg Thelen wrote: > > Roman's previously posted memory.low,min patches add per memcg effective > > low limit to detect overcommitment of parental limits. But if we flip >

Re: [RFC PATCH 0/2] memory.low,min reclaim

2018-04-23 Thread Greg Thelen
On Mon, Apr 23, 2018 at 3:38 AM Roman Gushchin wrote: > Hi, Greg! > On Sun, Apr 22, 2018 at 01:26:10PM -0700, Greg Thelen wrote: > > Roman's previously posted memory.low,min patches add per memcg effective > > low limit to detect overcommitment of parental limits. But if we flip > > low,min

Re: [RFC PATCH 0/2] memory.low,min reclaim

2018-04-23 Thread Roman Gushchin
Hi, Greg! On Sun, Apr 22, 2018 at 01:26:10PM -0700, Greg Thelen wrote: > Roman's previously posted memory.low,min patches add per memcg effective > low limit to detect overcommitment of parental limits. But if we flip > low,min reclaim to bail if usage<{low,min} at any level, then we don't need

Re: [RFC PATCH 0/2] memory.low,min reclaim

2018-04-23 Thread Roman Gushchin
Hi, Greg! On Sun, Apr 22, 2018 at 01:26:10PM -0700, Greg Thelen wrote: > Roman's previously posted memory.low,min patches add per memcg effective > low limit to detect overcommitment of parental limits. But if we flip > low,min reclaim to bail if usage<{low,min} at any level, then we don't need

[RFC PATCH 0/2] memory.low,min reclaim

2018-04-22 Thread Greg Thelen
Roman's previously posted memory.low,min patches add per memcg effective low limit to detect overcommitment of parental limits. But if we flip low,min reclaim to bail if usage<{low,min} at any level, then we don't need an effective low limit, which makes the code simpler. When parent limits are

[RFC PATCH 0/2] memory.low,min reclaim

2018-04-22 Thread Greg Thelen
Roman's previously posted memory.low,min patches add per memcg effective low limit to detect overcommitment of parental limits. But if we flip low,min reclaim to bail if usage<{low,min} at any level, then we don't need an effective low limit, which makes the code simpler. When parent limits are