Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-06-16 Thread Thomas Schwinge
Hi! On Mon, 28 Apr 2014 10:09:17 +0200, I wrote: > On Sun, 27 Apr 2014 15:55:29 -0400, Jerome Glisse wrote: > > If my ugly patch works does this quirk also work ? > > Unfortunately they both don't; see my other email, >

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-06-16 Thread Thomas Schwinge
Hi! On Mon, 28 Apr 2014 10:09:17 +0200, I wrote: On Sun, 27 Apr 2014 15:55:29 -0400, Jerome Glisse j.gli...@gmail.com wrote: If my ugly patch works does this quirk also work ? Unfortunately they both don't; see my other email,

RE: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Deucher, Alexander
Minchan Kim; linux- > m...@kvack.org; linux-kernel@vger.kernel.org; Andrew Morton; dri- > de...@lists.freedesktop.org > Subject: RE: radeon: screen garbled after page allocator change, was: Re: > [patch v2 3/3] mm: page_alloc: fair zone allocator policy > > > -Original M

RE: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Deucher, Alexander
- > m...@kvack.org; linux-kernel@vger.kernel.org; Andrew Morton; Deucher, > Alexander; dri-de...@lists.freedesktop.org > Subject: Re: radeon: screen garbled after page allocator change, was: Re: > [patch v2 3/3] mm: page_alloc: fair zone allocator policy > > > + /* We are living

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Thomas Schwinge
Hi! On Mon, 28 Apr 2014 10:03:46 +0200, I wrote: > On Fri, 25 Apr 2014 19:03:22 -0400, Jerome Glisse wrote: > > On Fri, Apr 25, 2014 at 05:50:57PM -0400, Jerome Glisse wrote: > > > On Fri, Apr 25, 2014 at 05:47:48PM -0400, Jerome Glisse wrote: > > > > On Thu, Apr 24, 2014 at 09:37:22AM -0400,

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Thomas Schwinge
Hi! On Sun, 27 Apr 2014 15:55:29 -0400, Jerome Glisse wrote: > If my ugly patch works does this quirk also work ? Unfortunately they both don't; see my other email, . Also, the quirk patch resulted in a NULL

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Christian König
+ /* We are living in a monstruous world in which you can have the pci +* root complex behind an hypertransport link which can not address +* anything above 32bit (well hypertransport specification says 40bits +* but hardware such as SIS761 only support 32bits). That

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Christian König
+ /* We are living in a monstruous world in which you can have the pci +* root complex behind an hypertransport link which can not address +* anything above 32bit (well hypertransport specification says 40bits +* but hardware such as SIS761 only support 32bits). That

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Thomas Schwinge
Hi! On Sun, 27 Apr 2014 15:55:29 -0400, Jerome Glisse j.gli...@gmail.com wrote: If my ugly patch works does this quirk also work ? Unfortunately they both don't; see my other email, http://news.gmane.org/find-root.php?message_id=%3C87sioxq3rx.fsf%40schwinge.name%3E. Also, the quirk patch

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Thomas Schwinge
Hi! On Mon, 28 Apr 2014 10:03:46 +0200, I wrote: On Fri, 25 Apr 2014 19:03:22 -0400, Jerome Glisse j.gli...@gmail.com wrote: On Fri, Apr 25, 2014 at 05:50:57PM -0400, Jerome Glisse wrote: On Fri, Apr 25, 2014 at 05:47:48PM -0400, Jerome Glisse wrote: On Thu, Apr 24, 2014 at 09:37:22AM

RE: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Deucher, Alexander
-kernel@vger.kernel.org; Andrew Morton; Deucher, Alexander; dri-de...@lists.freedesktop.org Subject: Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy + /* We are living in a monstruous world in which you can have the pci

RE: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-28 Thread Deucher, Alexander
...@kvack.org; linux-kernel@vger.kernel.org; Andrew Morton; dri- de...@lists.freedesktop.org Subject: RE: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy -Original Message- From: Koenig, Christian Sent: Monday

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-27 Thread Jerome Glisse
On Sat, Apr 26, 2014 at 11:31:11PM -0400, Jerome Glisse wrote: > On Thu, Apr 24, 2014 at 09:37:22AM -0400, Johannes Weiner wrote: > > Hi Thomas, > > > > On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: > > > Hi! > > > > > > On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner >

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-27 Thread Jerome Glisse
On Sat, Apr 26, 2014 at 11:31:11PM -0400, Jerome Glisse wrote: On Thu, Apr 24, 2014 at 09:37:22AM -0400, Johannes Weiner wrote: Hi Thomas, On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: Hi! On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner han...@cmpxchg.org

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-26 Thread Jerome Glisse
On Thu, Apr 24, 2014 at 09:37:22AM -0400, Johannes Weiner wrote: > Hi Thomas, > > On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: > > Hi! > > > > On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner > > wrote: > > > Each zone that holds userspace pages of one workload must be

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-26 Thread Jerome Glisse
On Thu, Apr 24, 2014 at 09:37:22AM -0400, Johannes Weiner wrote: Hi Thomas, On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: Hi! On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner han...@cmpxchg.org wrote: Each zone that holds userspace pages of one workload must

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-25 Thread Jerome Glisse
On Fri, Apr 25, 2014 at 05:50:57PM -0400, Jerome Glisse wrote: > On Fri, Apr 25, 2014 at 05:47:48PM -0400, Jerome Glisse wrote: > > On Thu, Apr 24, 2014 at 09:37:22AM -0400, Johannes Weiner wrote: > > > Hi Thomas, > > > > > > On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: > > >

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-25 Thread Jerome Glisse
On Fri, Apr 25, 2014 at 05:47:48PM -0400, Jerome Glisse wrote: > On Thu, Apr 24, 2014 at 09:37:22AM -0400, Johannes Weiner wrote: > > Hi Thomas, > > > > On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: > > > Hi! > > > > > > On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner >

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-25 Thread Jerome Glisse
On Thu, Apr 24, 2014 at 09:37:22AM -0400, Johannes Weiner wrote: > Hi Thomas, > > On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: > > Hi! > > > > On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner > > wrote: > > > Each zone that holds userspace pages of one workload must be

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-25 Thread Jerome Glisse
On Thu, Apr 24, 2014 at 09:37:22AM -0400, Johannes Weiner wrote: Hi Thomas, On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: Hi! On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner han...@cmpxchg.org wrote: Each zone that holds userspace pages of one workload must

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-25 Thread Jerome Glisse
On Fri, Apr 25, 2014 at 05:47:48PM -0400, Jerome Glisse wrote: On Thu, Apr 24, 2014 at 09:37:22AM -0400, Johannes Weiner wrote: Hi Thomas, On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: Hi! On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner han...@cmpxchg.org

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-25 Thread Jerome Glisse
On Fri, Apr 25, 2014 at 05:50:57PM -0400, Jerome Glisse wrote: On Fri, Apr 25, 2014 at 05:47:48PM -0400, Jerome Glisse wrote: On Thu, Apr 24, 2014 at 09:37:22AM -0400, Johannes Weiner wrote: Hi Thomas, On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: Hi!

radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-24 Thread Johannes Weiner
Hi Thomas, On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: > Hi! > > On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner > wrote: > > Each zone that holds userspace pages of one workload must be aged at a > > speed proportional to the zone size. [...] > > > Fix this with a

radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-24 Thread Johannes Weiner
Hi Thomas, On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: Hi! On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner han...@cmpxchg.org wrote: Each zone that holds userspace pages of one workload must be aged at a speed proportional to the zone size. [...] Fix this

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-02 Thread Thomas Schwinge
Hi! On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner wrote: > Each zone that holds userspace pages of one workload must be aged at a > speed proportional to the zone size. [...] > Fix this with a very simple round robin allocator. [...] This patch, adding NR_ALLOC_BATCH, eventually landed

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-02 Thread Thomas Schwinge
Hi! On Fri, 2 Aug 2013 11:37:26 -0400, Johannes Weiner han...@cmpxchg.org wrote: Each zone that holds userspace pages of one workload must be aged at a speed proportional to the zone size. [...] Fix this with a very simple round robin allocator. [...] This patch, adding NR_ALLOC_BATCH,

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-18 Thread Stephen Rothwell
Hi all, On Fri, 16 Aug 2013 14:52:11 -0700 Kevin Hilman wrote: > > Johannes Weiner writes: > > > On Fri, Aug 16, 2013 at 10:17:01AM -0700, Kevin Hilman wrote: > >> Johannes Weiner writes: > >> > On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: > >> > Subject: [patch] mm:

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-18 Thread Stephen Rothwell
Hi all, On Fri, 16 Aug 2013 14:52:11 -0700 Kevin Hilman khil...@linaro.org wrote: Johannes Weiner han...@cmpxchg.org writes: On Fri, Aug 16, 2013 at 10:17:01AM -0700, Kevin Hilman wrote: Johannes Weiner han...@cmpxchg.org writes: On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-16 Thread Johannes Weiner
Hi Kevin, On Fri, Aug 16, 2013 at 10:17:01AM -0700, Kevin Hilman wrote: > Johannes Weiner writes: > > On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: > > Subject: [patch] mm: page_alloc: use vmstats for fair zone allocation > > batching > > > > Avoid dirtying the same cache

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-16 Thread Stephen Warren
On 08/16/2013 02:18 PM, Johannes Weiner wrote: > Hi Kevin, > > On Fri, Aug 16, 2013 at 10:17:01AM -0700, Kevin Hilman wrote: >> Johannes Weiner writes: >>> On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: >>> Subject: [patch] mm: page_alloc: use vmstats for fair zone allocation

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-16 Thread Kevin Hilman
Johannes Weiner writes: > Hi Kevin, > > On Fri, Aug 16, 2013 at 10:17:01AM -0700, Kevin Hilman wrote: >> Johannes Weiner writes: >> > On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: >> > Subject: [patch] mm: page_alloc: use vmstats for fair zone allocation >> > batching >> >

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-16 Thread Kevin Hilman
Johannes Weiner han...@cmpxchg.org writes: Hi Kevin, On Fri, Aug 16, 2013 at 10:17:01AM -0700, Kevin Hilman wrote: Johannes Weiner han...@cmpxchg.org writes: On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: Subject: [patch] mm: page_alloc: use vmstats for fair zone

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-16 Thread Stephen Warren
On 08/16/2013 02:18 PM, Johannes Weiner wrote: Hi Kevin, On Fri, Aug 16, 2013 at 10:17:01AM -0700, Kevin Hilman wrote: Johannes Weiner han...@cmpxchg.org writes: On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: Subject: [patch] mm: page_alloc: use vmstats for fair zone

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-16 Thread Johannes Weiner
Hi Kevin, On Fri, Aug 16, 2013 at 10:17:01AM -0700, Kevin Hilman wrote: Johannes Weiner han...@cmpxchg.org writes: On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: Subject: [patch] mm: page_alloc: use vmstats for fair zone allocation batching Avoid dirtying the same

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-09 Thread Rik van Riel
On 08/08/2013 12:16 AM, Johannes Weiner wrote: Patch on top of mmotm: Yes, please! --- From: Johannes Weiner Subject: [patch] mm: page_alloc: use vmstats for fair zone allocation batching Avoid dirtying the same cache line with every single page allocation by making the fair per-zone

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-09 Thread Rik van Riel
On 08/08/2013 12:16 AM, Johannes Weiner wrote: Patch on top of mmotm: Yes, please! --- From: Johannes Weiner han...@cmpxchg.org Subject: [patch] mm: page_alloc: use vmstats for fair zone allocation batching Avoid dirtying the same cache line with every single page allocation by making the

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-08 Thread Mel Gorman
On Thu, Aug 08, 2013 at 12:16:23AM -0400, Johannes Weiner wrote: > On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: > > On Wed, Aug 07, 2013 at 03:58:28PM +0100, Mel Gorman wrote: > > > On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: > > > > @@ -352,6 +352,7 @@

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-08 Thread Mel Gorman
On Thu, Aug 08, 2013 at 12:16:23AM -0400, Johannes Weiner wrote: On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: On Wed, Aug 07, 2013 at 03:58:28PM +0100, Mel Gorman wrote: On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: @@ -352,6 +352,7 @@ struct zone {

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-07 Thread Johannes Weiner
On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: > On Wed, Aug 07, 2013 at 03:58:28PM +0100, Mel Gorman wrote: > > On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: > > > @@ -352,6 +352,7 @@ struct zone { > > >* free areas of different sizes > > >*/ > > >

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-07 Thread Johannes Weiner
On Wed, Aug 07, 2013 at 03:58:28PM +0100, Mel Gorman wrote: > On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: > > Each zone that holds userspace pages of one workload must be aged at a > > speed proportional to the zone size. Otherwise, the time an > > individual page gets to

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-07 Thread Mel Gorman
On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: > Each zone that holds userspace pages of one workload must be aged at a > speed proportional to the zone size. Otherwise, the time an > individual page gets to stay in memory depends on the zone it happened > to be allocated in.

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-07 Thread Mel Gorman
On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: Each zone that holds userspace pages of one workload must be aged at a speed proportional to the zone size. Otherwise, the time an individual page gets to stay in memory depends on the zone it happened to be allocated in.

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-07 Thread Johannes Weiner
On Wed, Aug 07, 2013 at 03:58:28PM +0100, Mel Gorman wrote: On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: Each zone that holds userspace pages of one workload must be aged at a speed proportional to the zone size. Otherwise, the time an individual page gets to stay in

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-07 Thread Johannes Weiner
On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: On Wed, Aug 07, 2013 at 03:58:28PM +0100, Mel Gorman wrote: On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: @@ -352,6 +352,7 @@ struct zone { * free areas of different sizes */ spinlock_t

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-05 Thread Andrea Arcangeli
On Mon, Aug 05, 2013 at 06:34:56PM +0800, Wanpeng Li wrote: > Why round robin allocator don't consume ZONE_DMA? I guess lowmem reserve reserves it all, 4GB/256(ratio)=16MB. The only way to relax it would be 1) to account depending on memblock types and allow only the movable ones to bypass the

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-05 Thread Andrea Arcangeli
On Mon, Aug 05, 2013 at 06:34:56PM +0800, Wanpeng Li wrote: Why round robin allocator don't consume ZONE_DMA? I guess lowmem reserve reserves it all, 4GB/256(ratio)=16MB. The only way to relax it would be 1) to account depending on memblock types and allow only the movable ones to bypass the

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-04 Thread Johannes Weiner
On Mon, Aug 05, 2013 at 01:48:58PM +0900, Minchan Kim wrote: > On Sun, Aug 04, 2013 at 11:43:04PM -0400, Johannes Weiner wrote: > > On Mon, Aug 05, 2013 at 10:15:46AM +0900, Minchan Kim wrote: > > > I really want to give Reviewed-by but before that, I'd like to clear out > > > my concern which

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-04 Thread Minchan Kim
On Sun, Aug 04, 2013 at 11:43:04PM -0400, Johannes Weiner wrote: > On Mon, Aug 05, 2013 at 10:15:46AM +0900, Minchan Kim wrote: > > Hello Hannes, > > > > On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: > > > Each zone that holds userspace pages of one workload must be aged at a >

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-04 Thread Johannes Weiner
On Mon, Aug 05, 2013 at 10:15:46AM +0900, Minchan Kim wrote: > Hello Hannes, > > On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: > > Each zone that holds userspace pages of one workload must be aged at a > > speed proportional to the zone size. Otherwise, the time an > >

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-04 Thread Minchan Kim
Hello Hannes, On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: > Each zone that holds userspace pages of one workload must be aged at a > speed proportional to the zone size. Otherwise, the time an > individual page gets to stay in memory depends on the zone it happened > to be

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-04 Thread Minchan Kim
Hello Hannes, On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: Each zone that holds userspace pages of one workload must be aged at a speed proportional to the zone size. Otherwise, the time an individual page gets to stay in memory depends on the zone it happened to be

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-04 Thread Johannes Weiner
On Mon, Aug 05, 2013 at 10:15:46AM +0900, Minchan Kim wrote: Hello Hannes, On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: Each zone that holds userspace pages of one workload must be aged at a speed proportional to the zone size. Otherwise, the time an individual page

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-04 Thread Minchan Kim
On Sun, Aug 04, 2013 at 11:43:04PM -0400, Johannes Weiner wrote: On Mon, Aug 05, 2013 at 10:15:46AM +0900, Minchan Kim wrote: Hello Hannes, On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: Each zone that holds userspace pages of one workload must be aged at a speed

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-04 Thread Johannes Weiner
On Mon, Aug 05, 2013 at 01:48:58PM +0900, Minchan Kim wrote: On Sun, Aug 04, 2013 at 11:43:04PM -0400, Johannes Weiner wrote: On Mon, Aug 05, 2013 at 10:15:46AM +0900, Minchan Kim wrote: I really want to give Reviewed-by but before that, I'd like to clear out my concern which didn't

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-02 Thread Rik van Riel
On 08/02/2013 11:37 AM, Johannes Weiner wrote: Each zone that holds userspace pages of one workload must be aged at a speed proportional to the zone size. Otherwise, the time an individual page gets to stay in memory depends on the zone it happened to be allocated in. Asymmetry in the zone

[patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-02 Thread Johannes Weiner
Each zone that holds userspace pages of one workload must be aged at a speed proportional to the zone size. Otherwise, the time an individual page gets to stay in memory depends on the zone it happened to be allocated in. Asymmetry in the zone aging creates rather unpredictable aging behavior

[patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-02 Thread Johannes Weiner
Each zone that holds userspace pages of one workload must be aged at a speed proportional to the zone size. Otherwise, the time an individual page gets to stay in memory depends on the zone it happened to be allocated in. Asymmetry in the zone aging creates rather unpredictable aging behavior

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-02 Thread Rik van Riel
On 08/02/2013 11:37 AM, Johannes Weiner wrote: Each zone that holds userspace pages of one workload must be aged at a speed proportional to the zone size. Otherwise, the time an individual page gets to stay in memory depends on the zone it happened to be allocated in. Asymmetry in the zone