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

From: KAMEZAWA Hiroyuki
Date: Fri Nov 06 2009 - 14:21:04 EST

Christoph Lameter wrote:
> On Sat, 7 Nov 2009, KAMEZAWA Hiroyuki wrote:
>> And allocate mm->usage only when the first CLONE_THREAD is specified.
> Ok.
>> if (mm->usage)
>> access per cpu
>> else
>> atomic_long_xxx
> If we just have one thread: Do we need atomic access at all?
Unfortunately, kswapd/vmscan touch this.


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