Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1028063imu; Wed, 9 Jan 2019 10:16:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN7cRu1IejzBBGXD73pGmCtQmbVxmahlNPg40EHGF29WygYwZg2GwsUexs9U8jAt65vjlJnZ X-Received: by 2002:a63:2507:: with SMTP id l7mr6099764pgl.22.1547057812369; Wed, 09 Jan 2019 10:16:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547057812; cv=none; d=google.com; s=arc-20160816; b=cdd12Ds/RtYLMR7d/2dITXlI4JnG8BjK1fYbJTp5nMd1JRFxZ3H92wPRYmYjZqmb82 Pyz8UYnSvUCeGxiDoNDyDpzXuVuCh5gFhgziQ3IQBroNj3ixS9nRnx2GwVpjbVEwXew+ oQ3Kj7ARhdxN1kdQ0IsPmsVCDoD6/uxC3uJjXnYnT3YCa5Ug59f/RiW442AxDC9TgDXU z6nGoSRFliAfaIBbRjbLlM6FBRIXZYH5XqKCO3CG1HHaqnU1O8UsAS4YOXEoT7V0xCMG 6/ZSIUTAoo01erESet+36DKtm6A1a5rP2S9TlSKYoey6WHMPf9l7v8RIB+FZoTHdd40y 68LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=puEYflvJOqUBNjIZ3c6CA6XR4BG7N/XRg3NgegPh5X4=; b=bENVu2Eg7JDh9SlGrxg+u5X3IYjg1UCmHDu7ymzq7KuEdAfbSKdhS297EdZvm/J6SX tpNwVI3Cp3sz4b47oujTmBIwAio1BUcXzgUAxmdtuu1Fi/rG3zYAJNksNtPQyKPfTElV QVjJ0DUDmDlIhTzk2hP7yVgngTNL8vDLECNkbYs2wT7l1q7bI8gRim6oaHPJkl3RT1AW d6KckM2Jwzz4bppcMTVWht9jJGhECp7tU09fATA/V8pYMxtxHRIaJkdwasLGVBae7wnJ ihCOXP9PzWFx6Cb3UMAexijDB8a/JzjdQYPsIN24gNMjew9Rlwi6aWvXOwRLmKFL7ggR TIkg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64si67858909ply.372.2019.01.09.10.16.36; Wed, 09 Jan 2019 10:16:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732484AbfAIQCU (ORCPT + 99 others); Wed, 9 Jan 2019 11:02:20 -0500 Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:59298 "EHLO brightrain.aerifal.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731519AbfAIQCU (ORCPT ); Wed, 9 Jan 2019 11:02:20 -0500 Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1ghGJ0-00037J-00; Wed, 09 Jan 2019 16:02:10 +0000 Date: Wed, 9 Jan 2019 11:02:10 -0500 From: Rich Felker To: Florian Weimer Cc: Thomas =?utf-8?Q?Sch=C3=B6bel-Theuer?= , Andy Lutomirski , X86 ML , LKML , Linux API , "H. Peter Anvin" , Peter Zijlstra , Borislav Petkov , Mike Frysinger , "H. J. Lu" , x32@buildd.debian.org, Arnd Bergmann , Will Deacon , Catalin Marinas , Linus Torvalds Subject: Re: Can we drop upstream Linux x32 support? Message-ID: <20190109160210.GB23599@brightrain.aerifal.cx> References: <6577ac4f-524c-37f4-a4d0-6eb94ec7d9a5@schoebel-theuer.de> <871s5muhp1.fsf@oldenburg2.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <871s5muhp1.fsf@oldenburg2.str.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 09, 2019 at 01:41:14PM +0100, Florian Weimer wrote: > * Thomas Schöbel-Theuer: > > > 2) please _announce_ _now_ that after the _next_ LTS kernel (whichever > > you want to declare as such), you will _afterwards_ drop the legacy > > 32bit support for 64 kernels (I am deliberately using "management > > speak" here). > > > > => result: the industry should have to fair chance to deal with such a > > roadmap. Yes, it will hurt some people, but they will have enough time > > for their migration projects. > > > > Example: I know that out of several millions of customers of > > webhosting, a very low number of them have some very old legacy 32bit > > software installed in their webspace. This cannot be supported > > forever. But the number of such cases is very small, and there just > > needs to be enough time for finding a solution for those few > > customers. > > > > 3) the next development kernel _after_ that LTS release can then > > immediately drop the 32bit support. Enterprise users should have > > enough time for planning, and for lots of internal projects > > modernizing their infrastructure. Usually, they will need to do this > > anyway in the long term. > > We've already phased out support for all 32-bit architectures except > i386 in our products, and i386 is obviously next. (We never supported > x32 in the first place.) > > It becomes increasingly difficult to build a 32-bit userspace that meets > backwards-compatibility needs. We want to use SSE2 (to avoid excess > precision for double) and avoid relying on stack realignment (for > compatibility with applications that use the old i386 ABI which did not > require stack realignment). We also have to build the distribution with > a full complement of hardening flags. This results in a combination of > flags that is poorly tested in upstream GCC. The i386 register file > isn't large enough to support all these features at the same time and > combine them with function arguments passed in registers (which some > programs enable manually via function attributes). > > So even if we keep the kernel interface, in the forseeable future, I > expect that it will be difficult to build a full, contemporary 32-bit > userspace on i386. I guess that's informative of how one company's distro process works, but it's not representative. Your customers are enterprise and big-server (probably mostly the former) oriented which is exactly the domain where 32-bit is of course irrelevant except for running legacy applications. Where it matters are embedded and other systems striving for resource efficiency. For what it's worth, 32-bit archs including i386 and many others are well-supported in Debian with no forseeable EOL I'm aware of, and most if not all of the musl-libc-based distros I'm familiar with support 32-bit archs including i386. I don't think waning relevance of 32-bit is a reasonable argument against x32 since x32's relevance is in exactly the places where 32-bit is already relevant and preferred for important reasons. Rich