From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 9 Jan 2006 12:54:32 -0800 (PST) From: Christoph Lameter Subject: Re: [PATCH] use local_t for page statistics In-Reply-To: <200601070401.47618.ak@suse.de> Message-ID: References: <20060106215332.GH8979@kvack.org> <20060106163313.38c08e37.akpm@osdl.org> <43BF2D03.2030908@yahoo.com.au> <200601070401.47618.ak@suse.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andi Kleen Cc: Nick Piggin , Andrew Morton , Benjamin LaHaise , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On Sat, 7 Jan 2006, Andi Kleen wrote: > On Saturday 07 January 2006 03:52, Nick Piggin wrote: > > > No. On many load/store architectures there is no good way to do local_t, > > so something like ppc32 or ia64 just uses all atomic operations for > > well, they're just broken and need to be fixed to not do that. I tried to use local_t on ia64 for page statistics and have to agree with Nick. local_t has highly arch specific semantics. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org