Re: [PATCH 3/3] fs, mm: account buffer_head to kmemcg

2018-06-22 Thread Shakeel Butt
On Tue, Jun 19, 2018 at 12:55 PM Roman Gushchin wrote: > > On Tue, Jun 19, 2018 at 12:51:15PM -0700, Shakeel Butt wrote: > > On Tue, Jun 19, 2018 at 10:41 AM Roman Gushchin wrote: > > > > > > On Tue, Jun 19, 2018 at 12:27:41PM -0400, Johannes Weiner wrote: > > > > On Mon, Jun 18, 2018 at 10:13:27

Re: [PATCH 3/3] fs, mm: account buffer_head to kmemcg

2018-06-19 Thread Roman Gushchin
On Tue, Jun 19, 2018 at 12:51:15PM -0700, Shakeel Butt wrote: > On Tue, Jun 19, 2018 at 10:41 AM Roman Gushchin wrote: > > > > On Tue, Jun 19, 2018 at 12:27:41PM -0400, Johannes Weiner wrote: > > > On Mon, Jun 18, 2018 at 10:13:27PM -0700, Shakeel Butt wrote: > > > > The buffer_head can consume a

Re: [PATCH 3/3] fs, mm: account buffer_head to kmemcg

2018-06-19 Thread Shakeel Butt
On Tue, Jun 19, 2018 at 10:41 AM Roman Gushchin wrote: > > On Tue, Jun 19, 2018 at 12:27:41PM -0400, Johannes Weiner wrote: > > On Mon, Jun 18, 2018 at 10:13:27PM -0700, Shakeel Butt wrote: > > > The buffer_head can consume a significant amount of system memory and > > > is directly related to the

Re: [PATCH 3/3] fs, mm: account buffer_head to kmemcg

2018-06-19 Thread Roman Gushchin
On Tue, Jun 19, 2018 at 12:27:41PM -0400, Johannes Weiner wrote: > On Mon, Jun 18, 2018 at 10:13:27PM -0700, Shakeel Butt wrote: > > The buffer_head can consume a significant amount of system memory and > > is directly related to the amount of page cache. In our production > > environment we have o

Re: [PATCH 3/3] fs, mm: account buffer_head to kmemcg

2018-06-19 Thread Johannes Weiner
On Mon, Jun 18, 2018 at 10:13:27PM -0700, Shakeel Butt wrote: > The buffer_head can consume a significant amount of system memory and > is directly related to the amount of page cache. In our production > environment we have observed that a lot of machines are spending a > significant amount of mem

[PATCH 3/3] fs, mm: account buffer_head to kmemcg

2018-06-18 Thread Shakeel Butt
The buffer_head can consume a significant amount of system memory and is directly related to the amount of page cache. In our production environment we have observed that a lot of machines are spending a significant amount of memory as buffer_head and can not be left as system memory overhead. Cha