Re: [PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-03-10 Thread Vlastimil Babka
On 03/09/2017 08:56 AM, Mel Gorman wrote: > From: Shantanu Goel > > The check in prepare_kswapd_sleep needs to match the one in balance_pgdat > since the latter will return as soon as any one of the zones in the > classzone is above the watermark. This is specially important for higher > order a

[PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-03-08 Thread Mel Gorman
From: Shantanu Goel The check in prepare_kswapd_sleep needs to match the one in balance_pgdat since the latter will return as soon as any one of the zones in the classzone is above the watermark. This is specially important for higher order allocations since balance_pgdat will typically reset th

Re: [PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-02-26 Thread Minchan Kim
Hi Mel, On Fri, Feb 24, 2017 at 09:11:28AM +, Mel Gorman wrote: > On Fri, Feb 24, 2017 at 10:17:06AM +0900, Minchan Kim wrote: > > Hi Mel, > > > > On Thu, Feb 23, 2017 at 03:05:34PM +, Mel Gorman wrote: > > > On Wed, Feb 22, 2017 at 04:00:36PM +0900, Minchan Kim wrote: > > > > > There are

Re: [PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-02-24 Thread Mel Gorman
On Fri, Feb 24, 2017 at 10:17:06AM +0900, Minchan Kim wrote: > Hi Mel, > > On Thu, Feb 23, 2017 at 03:05:34PM +, Mel Gorman wrote: > > On Wed, Feb 22, 2017 at 04:00:36PM +0900, Minchan Kim wrote: > > > > There are also more allocation stalls. One of the largest impacts was > > > > due > > > >

Re: [PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-02-23 Thread Minchan Kim
Hi Mel, On Thu, Feb 23, 2017 at 03:05:34PM +, Mel Gorman wrote: > On Wed, Feb 22, 2017 at 04:00:36PM +0900, Minchan Kim wrote: > > > There are also more allocation stalls. One of the largest impacts was due > > > to pages written back from kswapd context rising from 0 pages to 4516642 > > > pa

Re: [PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-02-23 Thread Mel Gorman
On Wed, Feb 22, 2017 at 04:00:36PM +0900, Minchan Kim wrote: > > There are also more allocation stalls. One of the largest impacts was due > > to pages written back from kswapd context rising from 0 pages to 4516642 > > pages during the hour the workload ran for. By and large, the patch has very >

Re: [PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-02-21 Thread Minchan Kim
Hi, On Wed, Feb 15, 2017 at 09:22:45AM +, Mel Gorman wrote: > From: Shantanu Goel > > The check in prepare_kswapd_sleep needs to match the one in balance_pgdat > since the latter will return as soon as any one of the zones in the > classzone is above the watermark. This is specially importa

Re: [PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-02-15 Thread Hillf Danton
On February 15, 2017 5:23 PM Mel Gorman wrote: > > From: Shantanu Goel > > The check in prepare_kswapd_sleep needs to match the one in balance_pgdat > since the latter will return as soon as any one of the zones in the > classzone is above the watermark. This is specially important for higher

[PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-02-15 Thread Mel Gorman
From: Shantanu Goel The check in prepare_kswapd_sleep needs to match the one in balance_pgdat since the latter will return as soon as any one of the zones in the classzone is above the watermark. This is specially important for higher order allocations since balance_pgdat will typically reset th