Thread (14 messages) 14 messages, 7 authors, 2007-02-01

Re: [patch] not to disturb page LRU state when unmapping memory range

From: Rik van Riel <hidden>
Date: 2007-02-01 03:13:52

Peter Zijlstra wrote:
Yes, why would unmapping a range make the pages more likely to be used
in the immediate future than otherwise indicated by their individual
young bits?

Even the opposite was suggested, that unmapping a range makes it less
likely to be used again.
I agree, the VM looks at the usage of individual pages and makes
decisions based on that.  We can only see how often individual
pages are referenced, and do not have much additional information
(except from the readahead code).

Making sweeping generalizations like "unmapping makes pages less
likely to be needed again" is bound to cause trouble for some
workloads.

-- 
Politics is the struggle between those who want to make their country
the best in the world, and those who believe it already is.  Each group
calls the other unpatriotic.

--
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