Re: [PATCH] -ac21 don't set referenced bit
From: Andrea Arcangeli <hidden>
Date: 2000-06-19 18:06:07
From: Andrea Arcangeli <hidden>
Date: 2000-06-19 18:06:07
On Mon, 19 Jun 2000, Rik van Riel wrote:
My approach is a bit simpler. Since we *always* want to clear the bit when we put the page in the LRU list, we can simply remove that piece of code duplication from elsewhere in the code.
I do the clear of the bit in __add_to_page_cache at zero cost. You do it with a cost inside lru_cache_add. That's the only difference between the two approchs. Andrea -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/