Re: [MM] Make mm counters per cpu instead of atomic

From: Andi Kleen
Date: Wed Nov 04 2009 - 16:01:13 EST

Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx> writes:
> One price to pay for these improvements is the need to scan over all percpu
> counters when the actual count values are needed.

Do you have numbers how costly alloc_percpu() is? I wonder what this
does to fork() overhead.


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
Please read the FAQ at