Thread (26 messages) 26 messages, 7 authors, 2012-01-05

Re: [PATCH 3/3] mm: take pagevecs off reclaim stack

From: Hugh Dickins <hughd@google.com>
Date: 2011-12-30 01:55:28

On Thu, 29 Dec 2011, KOSAKI Motohiro wrote:
When lumpy reclaim occur, isolate_lru_pages() gather much pages than
SWAP_CLUSTER_MAX.
Oh, good point, I hadn't thought of that.
However, at that time, I think this patch behave
better than old. If we release and retake zone lock per 14 pages,
other tasks can easily steal a part of lumpy reclaimed pages. and then
long latency wrongness will be happen when system is under large page
memory allocation pressure. That's the reason why I posted very similar patch
a long time ago.
Aha, and another good point.  Thank you.

Hugh

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
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