Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761547AbZA2AcL (ORCPT ); Wed, 28 Jan 2009 19:32:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760343AbZA1X4x (ORCPT ); Wed, 28 Jan 2009 18:56:53 -0500 Received: from terminus.zytor.com ([198.137.202.10]:36916 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760450AbZA1X4w (ORCPT ); Wed, 28 Jan 2009 18:56:52 -0500 Message-ID: <4980EEA0.4050802@zytor.com> Date: Wed, 28 Jan 2009 15:47:44 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Harvey Harrison CC: Linus Torvalds , "H. Peter Anvin" , Arnd Bergmann , Jaswinder Singh Rajput , Ingo Molnar , Linux Kernel Mailing List , Andrew Morton , Sam Ravnborg , Jaswinder Singh Rajput , "David S. Miller" Subject: Re: [PATCH] x86: do not expose CONFIG_BSWAP to userspace References: <20090127222825.GA27097@elte.hu> <1233106614.3256.6.camel@localhost.localdomain> <200901281337.52294.arnd@arndb.de> <49809A65.2090501@kernel.org> <1233170532.6717.49.camel@brick> <1233172994.6717.56.camel@brick> <4980CD51.70601@zytor.com> <1233179884.6717.59.camel@brick> <4980D913.3000505@zytor.com> <1233182314.6717.66.camel@brick> <4980E9DF.2070101@zytor.com> <1233185764.5322.0.camel@brick> In-Reply-To: <1233185764.5322.0.camel@brick> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 785 Lines: 22 Harvey Harrison wrote: > On Wed, 2009-01-28 at 15:27 -0800, H. Peter Anvin wrote: >> Harvey Harrison wrote: >>> Well, that's unfortunate, how about we just export the BSWAP version >>> unconditionally and hope pure i386 just goes away someday? >>> >> Well, we already have MOVBE coming up, too... >> > > Is someone already working on an __arch_swab{16|32|64}p to use them? > Not that I know of, but it's trivial enough. They can also be used for all-register swapping, too, with the advantage that you get register decoupling. -hpa -- 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/