Re: [MM] Remove rss batching from copy_page_range()

From: Andi Kleen
Date: Wed Nov 04 2009 - 16:02:26 EST


Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx> writes:

> From: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx>
> Subject: Remove rss batching from copy_page_range()
>
> With per cpu counters in mm there is no need for batching
> mm counter updates anymore. Update counters directly while
> copying pages.

Hmm, but with all the inlining with some luck the local
counters will be in registers. That will never be the case
with the per cpu counters.

So I'm not sure it's really an improvement?

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