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>