Messages in this thread | | | Date | Sat, 7 Nov 2009 04:20:51 +0900 (JST) | Subject | Re: [MM] Make mm counters per cpu instead of atomic V2 | From | "KAMEZAWA Hiroyuki" <> |
| |
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.
Thanks, -Kame
| |