Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263663AbUJ3COx (ORCPT ); Fri, 29 Oct 2004 22:14:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263462AbUJ3COw (ORCPT ); Fri, 29 Oct 2004 22:14:52 -0400 Received: from cantor.suse.de ([195.135.220.2]:33754 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S263459AbUJ3COF (ORCPT ); Fri, 29 Oct 2004 22:14:05 -0400 To: Linus Torvalds Cc: linux-kernel@vger.kernel.org Subject: Re: Semaphore assembly-code bug References: <417550FB.8020404@drdos.com.suse.lists.linux.kernel> <1098218286.8675.82.camel@mentorng.gurulabs.com.suse.lists.linux.kernel> <41757478.4090402@drdos.com.suse.lists.linux.kernel> <20041020034524.GD10638@michonline.com.suse.lists.linux.kernel> <1098245904.23628.84.camel@krustophenia.net.suse.lists.linux.kernel> <1098247307.23628.91.camel@krustophenia.net.suse.lists.linux.kernel> <20041029175527.GB25764@redhat.com.suse.lists.linux.kernel> From: Andi Kleen Date: 30 Oct 2004 04:13:10 +0200 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 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: 585 Lines: 15 Linus Torvalds writes: > Anyway, it's quite likely that for several CPU's the fastest sequence ends > up actually being > > movl 4(%esp),%ecx > movl 8(%esp),%edx > movl 12(%esp),%eax > addl $16,%esp > > which is also one of the biggest alternatives. For K8 it should be the fastest way. K7 probably too. -Andi - 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/