Re: [bug, 4.8] /proc/meminfo: counter values are very wrong

2016-08-05 Thread Dave Chinner
On Fri, Aug 05, 2016 at 09:59:35PM +1000, Dave Chinner wrote: > On Fri, Aug 05, 2016 at 11:54:17AM +0100, Mel Gorman wrote: > > On Fri, Aug 05, 2016 at 09:11:10AM +1000, Dave Chinner wrote: > > > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > > > index fb975cec3518..baa97da3687d 100644 > > >

Re: [bug, 4.8] /proc/meminfo: counter values are very wrong

2016-08-05 Thread Dave Chinner
On Fri, Aug 05, 2016 at 11:54:17AM +0100, Mel Gorman wrote: > On Fri, Aug 05, 2016 at 09:11:10AM +1000, Dave Chinner wrote: > > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > > index fb975cec3518..baa97da3687d 100644 > > > --- a/mm/page_alloc.c > > > +++ b/mm/page_alloc.c > > > @@ -4064,7 +40

Re: [bug, 4.8] /proc/meminfo: counter values are very wrong

2016-08-05 Thread Mel Gorman
On Fri, Aug 05, 2016 at 09:11:10AM +1000, Dave Chinner wrote: > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > index fb975cec3518..baa97da3687d 100644 > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -4064,7 +4064,7 @@ long si_mem_available(void) > > int lru; > > > > for (

Re: [bug, 4.8] /proc/meminfo: counter values are very wrong

2016-08-04 Thread Dave Chinner
On Thu, Aug 04, 2016 at 01:34:58PM +0100, Mel Gorman wrote: > On Thu, Aug 04, 2016 at 01:24:09PM +0100, Mel Gorman wrote: > > On Thu, Aug 04, 2016 at 03:10:51PM +1000, Dave Chinner wrote: > > > Hi folks, > > > > > > I just noticed a whacky memory usage profile when running some basic > > > IO test

Re: [bug, 4.8] /proc/meminfo: counter values are very wrong

2016-08-04 Thread Mel Gorman
On Thu, Aug 04, 2016 at 01:24:09PM +0100, Mel Gorman wrote: > On Thu, Aug 04, 2016 at 03:10:51PM +1000, Dave Chinner wrote: > > Hi folks, > > > > I just noticed a whacky memory usage profile when running some basic > > IO tests on a current 4.8 tree. It looked like there was a massive > > memory l

Re: [bug, 4.8] /proc/meminfo: counter values are very wrong

2016-08-04 Thread Mel Gorman
On Thu, Aug 04, 2016 at 03:10:51PM +1000, Dave Chinner wrote: > Hi folks, > > I just noticed a whacky memory usage profile when running some basic > IO tests on a current 4.8 tree. It looked like there was a massive > memory leak from my monitoring graphs - doing buffered IO was > causing huge amo

[bug, 4.8] /proc/meminfo: counter values are very wrong

2016-08-03 Thread Dave Chinner
Hi folks, I just noticed a whacky memory usage profile when running some basic IO tests on a current 4.8 tree. It looked like there was a massive memory leak from my monitoring graphs - doing buffered IO was causing huge amounts of memory to be considered used, but the cache size was not increasin