Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934598Ab0KQJIN (ORCPT ); Wed, 17 Nov 2010 04:08:13 -0500 Received: from claw.goop.org ([74.207.240.146]:34334 "EHLO claw.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934139Ab0KQJIL (ORCPT ); Wed, 17 Nov 2010 04:08:11 -0500 Message-ID: <4CE39B7A.1080706@goop.org> Date: Wed, 17 Nov 2010 01:08:10 -0800 From: Jeremy Fitzhardinge User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.6 MIME-Version: 1.0 To: Jan Beulich CC: Jeremy Fitzhardinge , Mathieu Desnoyers , Nick Piggin , Peter Zijlstra , Srivatsa Vaddagiri , Linux Kernel Mailing List , Xen-devel , Avi Kivity , "H. Peter Anvin" , xiyou.wangcong@gmail.com, Eric Dumazet , Linux Virtualization Subject: Re: [PATCH 13/14] x86/ticketlock: add slowpath logic References: <97ed99ae9160bdb6477284b333bd6708fb7a19cb.1289940821.git.jeremy.fitzhardinge@citrix.com> <4CE3A1060200007800022B04@vpn.id2.novell.com> <4CE397C8.9040901@goop.org> <4CE398A0.3040105@goop.org> In-Reply-To: <4CE398A0.3040105@goop.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 931 Lines: 24 On 11/17/2010 12:56 AM, Jeremy Fitzhardinge wrote: > On 11/17/2010 12:52 AM, Jeremy Fitzhardinge wrote: >> But, yes, %z0 sounds interesting. Is it documented anywhere? I think >> I've tried to use it in the past and run into gcc bugs. > This one: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39590 > > Should be OK in this case because there's no 64-bit values to be seen... Hm, it fails when __ticket_t is 16 bits: /home/jeremy/git/linux/arch/x86/include/asm/spinlock.h: Assembler messages: /home/jeremy/git/linux/arch/x86/include/asm/spinlock.h:73: Error: suffix or operands invalid for `or' lock; ors $1, 2(%rbx) #, So I don't think that's going to work out... J -- 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/