Thread (11 messages) 11 messages, 5 authors, 2005-08-10

Re: [RFC 1/3] non-resident page tracking

From: Rik van Riel <riel@surriel.com>
Date: 2005-08-08 20:30:30
Also in: lkml

On Mon, 8 Aug 2005, David S. Miller wrote:
quoted
@@ -359,7 +362,10 @@ struct page *read_swap_cache_async(swp_e
quoted
-			lru_cache_add_active(new_page);
+			if (activate >= 0)
+				lru_cache_add_active(new_page);
+			else
+				lru_cache_add(new_page);
This change is totally unrelated to the rest of the
patch, and is not mentioned in the changelog.  Could
you explain it?
Oops, you're right.  This is part of the replacement policy in
CLOCK-Pro, ARC, CART, etc. and should have been in a separate
patch.

This is what I get for pulling an all-nighter. ;)

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
--
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-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help