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

From: Christoph Lameter
Date: Thu Nov 05 2009 - 14:45:22 EST

On Wed, 4 Nov 2009, Dave Jones wrote:

> On Wed, Nov 04, 2009 at 02:14:41PM -0500, Christoph Lameter wrote:
> > + memset(m, sizeof(struct mm_counter), 0);
> Args wrong way around.

Right. It works because percpu_alloc zeroes the data anyways.

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