Re: [PATCH -mmotm-2009-12-10-17-19] Prevent churning of zero page inLRU list.

From: Balbir Singh
Date: Sun Dec 27 2009 - 23:18:15 EST


* Rik van Riel <riel@xxxxxxxxxx> [2009-12-27 23:12:07]:

> On 12/27/2009 10:57 PM, Balbir Singh wrote:
> >* Balbir Singh<balbir@xxxxxxxxxxxxxxxxxx> [2009-12-28 09:26:39]:
> >
> >>* Rik van Riel<riel@xxxxxxxxxx> [2009-12-27 22:22:20]:
> >>
> >>>On 12/27/2009 09:53 PM, Minchan Kim wrote:
> >>>>
> >>>>VM doesn't add zero page to LRU list.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> >>Frequent moving of zero page should ideally put it to the head of the
> >>LRU list, leaving it untouched is likely to cause it to be scanned
> >>often - no? Should this be moved to the unevictable list?
> >>
> >
> >Sorry, I replied to wrong email, I should have been clearer that this
> >question is for Minchan Kim.
>
> The answer to your question is all the way up in
> Minchan Kim's original email.
>
> The zero page is never on the LRU lists to begin with.
>

Aahh.. my bad... I should have looked at it more closely!

--
Balbir
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/