Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758052Ab2ECS25 (ORCPT ); Thu, 3 May 2012 14:28:57 -0400 Received: from terminus.zytor.com ([198.137.202.10]:51002 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753863Ab2ECS24 (ORCPT ); Thu, 3 May 2012 14:28:56 -0400 Message-ID: <4FA2CE5C.8000100@zytor.com> Date: Thu, 03 May 2012 11:28:44 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: Linus Torvalds CC: Al Viro , Nick Piggin , Jana Saout , Joel Becker , linux-kernel@vger.kernel.org Subject: Re: Oops with DCACHE_WORD_ACCESS and ocfs2, autofs4 References: <1335788867.29087.19.camel@localhost> <20120501110024.GC6649@dhcp-172-17-9-228.mtv.corp.google.com> <1335875321.26671.15.camel@localhost> <20120503064722.GN6871@ZenIV.linux.org.uk> <4FA2CAD9.6010808@zytor.com> In-Reply-To: X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 622 Lines: 19 + "lea" __WORDSUFFIX " %2,%1\n\t" + "and" __WORDSUFFIX " %4,%1\n\t" + "shl" __WORDSUFFIX " $3,%1\n\t" + "shr" __WORDSUFFIX " %b1,%0\n\t" Also, for this sequence of instructions using %ecx unconditionally is actually better (avoids REX prefixes on 64 bits.) -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. -- 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/