Re: [PATCH] - Improve drain pages performance on large systems

From: Andi Kleen
Date: Mon Feb 21 2011 - 14:09:54 EST


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/