Re: [PATCH RFC 3/3] mm, vmscan: correct prepare_kswapd_sleep return value

2017-01-24 Thread hejianet
On 25/01/2017 6:01 AM, Rik van Riel wrote: On Tue, 2017-01-24 at 15:49 +0800, Jia He wrote: When there is no reclaimable pages in the zone, even the zone is not balanced, we let kswapd go sleeping. That is prepare_kswapd_sleep will return true in this case. Signed-off-by: Jia He

Re: [PATCH RFC 3/3] mm, vmscan: correct prepare_kswapd_sleep return value

2017-01-24 Thread hejianet
On 25/01/2017 6:01 AM, Rik van Riel wrote: On Tue, 2017-01-24 at 15:49 +0800, Jia He wrote: When there is no reclaimable pages in the zone, even the zone is not balanced, we let kswapd go sleeping. That is prepare_kswapd_sleep will return true in this case. Signed-off-by: Jia He ---

Re: [PATCH RFC 3/3] mm, vmscan: correct prepare_kswapd_sleep return value

2017-01-24 Thread Rik van Riel
On Tue, 2017-01-24 at 15:49 +0800, Jia He wrote: > When there is no reclaimable pages in the zone, even the zone is > not balanced, we let kswapd go sleeping. That is prepare_kswapd_sleep > will return true in this case. > > Signed-off-by: Jia He > --- >  mm/vmscan.c | 3 ++-

Re: [PATCH RFC 3/3] mm, vmscan: correct prepare_kswapd_sleep return value

2017-01-24 Thread Rik van Riel
On Tue, 2017-01-24 at 15:49 +0800, Jia He wrote: > When there is no reclaimable pages in the zone, even the zone is > not balanced, we let kswapd go sleeping. That is prepare_kswapd_sleep > will return true in this case. > > Signed-off-by: Jia He > --- >  mm/vmscan.c | 3 ++- >  1 file changed, 2

[PATCH RFC 3/3] mm, vmscan: correct prepare_kswapd_sleep return value

2017-01-23 Thread Jia He
When there is no reclaimable pages in the zone, even the zone is not balanced, we let kswapd go sleeping. That is prepare_kswapd_sleep will return true in this case. Signed-off-by: Jia He --- mm/vmscan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH RFC 3/3] mm, vmscan: correct prepare_kswapd_sleep return value

2017-01-23 Thread Jia He
When there is no reclaimable pages in the zone, even the zone is not balanced, we let kswapd go sleeping. That is prepare_kswapd_sleep will return true in this case. Signed-off-by: Jia He --- mm/vmscan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/vmscan.c