Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262493AbVAERQq (ORCPT ); Wed, 5 Jan 2005 12:16:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262182AbVAERPB (ORCPT ); Wed, 5 Jan 2005 12:15:01 -0500 Received: from dialin-145-254-057-142.arcor-ip.net ([145.254.57.142]:22278 "EHLO spit.home") by vger.kernel.org with ESMTP id S261943AbVAERNj (ORCPT ); Wed, 5 Jan 2005 12:13:39 -0500 From: Roman Zippel To: Christoph Lameter Subject: Re: page fault scalability patch V14 [3/7]: i386 universal cmpxchg Date: Wed, 5 Jan 2005 12:51:34 +0100 User-Agent: KMail/1.7.1 Cc: Linus Torvalds , Hugh Dickins , akpm@osdl.org, Nick Piggin , linux-mm@kvack.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501051251.36879.zippel@linux-m68k.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 798 Lines: 21 Hi, On Tuesday 04 January 2005 20:37, Christoph Lameter wrote: > * Provide emulation of cmpxchg suitable for uniprocessor if > build and run on 386. > * Provide emulation of cmpxchg8b suitable for uniprocessor > systems if build and run on 386 or 486. I'm not sure that's such a good idea. This emulation is more expensive as it has to disable interrupts and you already have emulation functions using spinlocks anyway, so why not use them? This way your patch would not just scale up, but also still scale down. bye, Roman - 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/