Re: [PATCH] mm: Only force scan in reclaim when none of the LRUs are big enough.

2014-04-01 Thread Andrew Morton
On Sat, 15 Mar 2014 20:36:02 -0700 (PDT) Hugh Dickins wrote: > From: Suleiman Souhlal > > Prior to this change, we would decide whether to force scan a LRU > during reclaim if that LRU itself was too small for the current > priority. However, this can lead to the file LRU getting force >

Re: [PATCH] mm: Only force scan in reclaim when none of the LRUs are big enough.

2014-04-01 Thread Andrew Morton
On Sat, 15 Mar 2014 20:36:02 -0700 (PDT) Hugh Dickins hu...@google.com wrote: From: Suleiman Souhlal sulei...@google.com Prior to this change, we would decide whether to force scan a LRU during reclaim if that LRU itself was too small for the current priority. However, this can lead to the

Re: [PATCH] mm: Only force scan in reclaim when none of the LRUs are big enough.

2014-03-28 Thread Rafael Aquini
On Sat, Mar 15, 2014 at 08:36:02PM -0700, Hugh Dickins wrote: > From: Suleiman Souhlal > > Prior to this change, we would decide whether to force scan a LRU > during reclaim if that LRU itself was too small for the current > priority. However, this can lead to the file LRU getting force >

Re: [PATCH] mm: Only force scan in reclaim when none of the LRUs are big enough.

2014-03-28 Thread Rafael Aquini
On Sat, Mar 15, 2014 at 08:36:02PM -0700, Hugh Dickins wrote: From: Suleiman Souhlal sulei...@google.com Prior to this change, we would decide whether to force scan a LRU during reclaim if that LRU itself was too small for the current priority. However, this can lead to the file LRU getting

Re: [PATCH] mm: Only force scan in reclaim when none of the LRUs are big enough.

2014-03-27 Thread Rik van Riel
On 03/15/2014 11:36 PM, Hugh Dickins wrote: From: Suleiman Souhlal Prior to this change, we would decide whether to force scan a LRU during reclaim if that LRU itself was too small for the current priority. However, this can lead to the file LRU getting force scanned even if there are a lot of

Re: [PATCH] mm: Only force scan in reclaim when none of the LRUs are big enough.

2014-03-27 Thread Rik van Riel
On 03/15/2014 11:36 PM, Hugh Dickins wrote: From: Suleiman Souhlal sulei...@google.com Prior to this change, we would decide whether to force scan a LRU during reclaim if that LRU itself was too small for the current priority. However, this can lead to the file LRU getting force scanned even if

[PATCH] mm: Only force scan in reclaim when none of the LRUs are big enough.

2014-03-15 Thread Hugh Dickins
From: Suleiman Souhlal Prior to this change, we would decide whether to force scan a LRU during reclaim if that LRU itself was too small for the current priority. However, this can lead to the file LRU getting force scanned even if there are a lot of anonymous pages we can reclaim, leading to

[PATCH] mm: Only force scan in reclaim when none of the LRUs are big enough.

2014-03-15 Thread Hugh Dickins
From: Suleiman Souhlal sulei...@google.com Prior to this change, we would decide whether to force scan a LRU during reclaim if that LRU itself was too small for the current priority. However, this can lead to the file LRU getting force scanned even if there are a lot of anonymous pages we can