Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261633AbUKTROf (ORCPT ); Sat, 20 Nov 2004 12:14:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263123AbUKTROd (ORCPT ); Sat, 20 Nov 2004 12:14:33 -0500 Received: from fw.osdl.org ([65.172.181.6]:16059 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261633AbUKTRO2 (ORCPT ); Sat, 20 Nov 2004 12:14:28 -0500 Date: Sat, 20 Nov 2004 09:14:11 -0800 (PST) From: Linus Torvalds To: "Martin J. Bligh" cc: Nick Piggin , Andrew Morton , wli@holomorphy.com, clameter@sgi.com, benh@kernel.crashing.org, hugh@veritas.com, linux-mm@kvack.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: page fault scalability patch V11 [0/7]: overview In-Reply-To: <1834180000.1100969975@[10.10.2.4]> Message-ID: 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> <419EEE7F.3070509@yahoo.com.au> <1834180000.1100969975@[10.10.2.4]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 891 Lines: 22 On Sat, 20 Nov 2004, Martin J. Bligh wrote: > > Per thread seems much nicer to me - mainly because it degrades cleanly to > a single counter for 99% of processes, which are single threaded. I will pretty much guarantee that if you put the per-thread patches next to some abomination with per-cpu allocation for each mm, the choice will be clear. Especially if the per-cpu/per-mm thing tries to avoid false cacheline sharing, which sounds really "interesting" in itself. And without the cacheline sharing avoidance, what's the point of this again? It sure wasn't to make the code simpler. It was about performance and scalability. Linus - 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/