Jack Steiner <steiner@xxxxxxx> writes: > Heavy swapping within a cpuset causes frequent calls to drain_all_pages(). I suspect drain_all_pages should be really made more zone aware in the first place and only drain what is actually needed (e.g. work off a zonelist). I was fighting with this for hwpoison too. That said your patch looks reasonable. -Andi -- ak@xxxxxxxxxxxxxxx -- Speaking for myself only -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx 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@xxxxxxxxx"> email@xxxxxxxxx </a>