From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [PATCH] use local_t for page statistics Date: Sat, 7 Jan 2006 04:01:47 +0100 References: <20060106215332.GH8979@kvack.org> <20060106163313.38c08e37.akpm@osdl.org> <43BF2D03.2030908@yahoo.com.au> In-Reply-To: <43BF2D03.2030908@yahoo.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601070401.47618.ak@suse.de> Sender: owner-linux-mm@kvack.org Return-Path: To: Nick Piggin Cc: Andrew Morton , Benjamin LaHaise , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: 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. Also I bet with some tricks a seqlock like setup could be made to work. > local_t, and ppc64 uses 3 counters per-cpu thus tripling the cache > footprint. and ppc64 has big caches so this also shouldn't be a problem. -Andi -- 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