From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 19 Nov 2004 23:04:18 -0800 From: Andrew Morton Subject: Re: page fault scalability patch V11 [0/7]: overview Message-Id: <20041119230418.6070ab89.akpm@osdl.org> In-Reply-To: <20041119225701.0279f846.akpm@osdl.org> References: <20041120020306.GA2714@holomorphy.com> <419EBBE0.4010303@yahoo.com.au> <20041120035510.GH2714@holomorphy.com> <419EC205.5030604@yahoo.com.au> <20041120042340.GJ2714@holomorphy.com> <419EC829.4040704@yahoo.com.au> <20041120053802.GL2714@holomorphy.com> <419EDB21.3070707@yahoo.com.au> <20041120062341.GM2714@holomorphy.com> <419EE911.20205@yahoo.com.au> <20041119225701.0279f846.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: nickpiggin@yahoo.com.au, wli@holomorphy.com, torvalds@osdl.org, clameter@sgi.com, benh@kernel.crashing.org, hugh@veritas.com, linux-mm@kvack.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org List-ID: Andrew Morton wrote: > > I'd expect that just shoving a pointer into mm_struct which points at a > dynamically allocated array[NR_CPUS] of longs would suffice. One might even be able to use percpu_counter.h, although that might end up hurting many-cpu fork times, due to all that work in __alloc_percpu(). -- 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: aart@kvack.org