Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755106AbZAaUZ3 (ORCPT ); Sat, 31 Jan 2009 15:25:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752455AbZAaUZP (ORCPT ); Sat, 31 Jan 2009 15:25:15 -0500 Received: from terminus.zytor.com ([198.137.202.10]:58871 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752321AbZAaUZO (ORCPT ); Sat, 31 Jan 2009 15:25:14 -0500 Message-ID: <4984B384.3050509@zytor.com> Date: Sat, 31 Jan 2009 12:24:36 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: "Maciej W. Rozycki" CC: Harvey Harrison , 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> In-Reply-To: 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: 1051 Lines: 30 Maciej W. Rozycki wrote: > On Wed, 28 Jan 2009, Harvey Harrison wrote: > >> Well, that's unfortunate, how about we just export the BSWAP version >> unconditionally and hope pure i386 just goes away someday? > > Or just emulate it alongside CMPXCHG and XADD? ;) That would work unless someone actually cares about 386 or 486 in the embedded space. I think at least 486EX is still used as an embedded platform. The kernel can obviously provide this service (although it slows down the #UD handler), but anyone who actually cares about these chips would not really want them. At some point, we may want to ask ourselves how long keeping 386 support (with it's broken WP handling) alive. -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/