Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759720AbZKFTtI (ORCPT ); Fri, 6 Nov 2009 14:49:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759685AbZKFTtH (ORCPT ); Fri, 6 Nov 2009 14:49:07 -0500 Received: from smtp.ultrahosting.com ([74.213.175.253]:38239 "EHLO smtp.ultrahosting.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1759562AbZKFTtH (ORCPT ); Fri, 6 Nov 2009 14:49:07 -0500 Date: Fri, 6 Nov 2009 14:47:52 -0500 (EST) From: Christoph Lameter X-X-Sender: cl@V090114053VZO-1 To: KAMEZAWA Hiroyuki cc: Dave Jones , "hugh.dickins@tiscali.co.uk" , linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Tejun Heo Subject: Re: [MM] Make mm counters per cpu instead of atomic V2 In-Reply-To: Message-ID: References: <20091104234923.GA25306@redhat.com> <20091106101106.8115e0f1.kamezawa.hiroyu@jp.fujitsu.com> <20091106122344.51118116.kamezawa.hiroyu@jp.fujitsu.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 508 Lines: 14 On Sat, 7 Nov 2009, KAMEZAWA Hiroyuki wrote: > > If we just have one thread: Do we need atomic access at all? > > > Unfortunately, kswapd/vmscan touch this. Right. And those can also occur from another processor that the process never has run on before. Argh. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/