Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp681013imu; Wed, 9 Jan 2019 04:44:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN5zj3YoAWwPPxxyhxZytuTJUXM0DTb0ugkff5uC4avvk88l55X/BF6l2W0k3itVHvIO/hrS X-Received: by 2002:a17:902:8a8a:: with SMTP id p10mr5991069plo.50.1547037872340; Wed, 09 Jan 2019 04:44:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547037872; cv=none; d=google.com; s=arc-20160816; b=I8M0fi7o8RUl4a06lGzyyBLHVKPPf2lMT9JEYrJRPEiPzRqAe6SKHbKyMSenI3O6N1 XIaDrc/9SUdzheD9g4osBk7+6nPPCDfW5D69OEaj+eA/bC0WmZSGnifGKvMCw6Fw2UvV 4LDho6PT85HA1hvL++XibCSITJH9g6Kdpbe+TtBA8+GRKXxuyKJqWFVB+VckRZnvTWo/ hKsPX6RuOifJP8IcHkrgF5EUQQgLzgipy5O2XSuuFwoa4oxsHFMnMYAW9zTmBQcjGFxu bdDkTQYBO3EXMz7rWpR4dGKpO+HebsiKAjHyJkdKDaKL7S/wChTPJMTSPs8petfebf1I 5jEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from; bh=0ZQOE8oLDMj//I6cPqsxBGDzudMP6woc2KS8gyy5UBQ=; b=go9K78OlooibEHUKDvlgoBObWEeTg3px2qEexVXREtzW9gbFwu6dYekh5EAm4IO1/C PQK2EXraFNUTIOg2Aeegf9gu/GSkEj0rUE8rANczXh98mW+Ghlk0mKBNJO9W70tBbp5c zvhqtbz0dutar+Z+tgqPPO/MJYd3vTiV5oF2wdk3JWYYFsZ4o4AdW+eRDru/jDo2t0VE c3ZeS4XZs9E9CPs5HiCwpMW41kC1Sp0y5Y6kUpCI18re3qm0ghCZK7v0tmfb/e0AoGFv y3VPTiDL3gLnZxUXFzzPXHQ0N61byLCu/xaUwxbp5+agbmeBu0UxnxkjrfSaApu59n9J mvNg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b12si1312910pls.32.2019.01.09.04.44.17; Wed, 09 Jan 2019 04:44:32 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730829AbfAIMlW convert rfc822-to-8bit (ORCPT + 99 others); Wed, 9 Jan 2019 07:41:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39234 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730792AbfAIMlV (ORCPT ); Wed, 9 Jan 2019 07:41:21 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 93BC02CD7E9; Wed, 9 Jan 2019 12:41:20 +0000 (UTC) Received: from oldenburg2.str.redhat.com (dhcp-192-219.str.redhat.com [10.33.192.219]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EC994608DD; Wed, 9 Jan 2019 12:41:15 +0000 (UTC) From: Florian Weimer To: Thomas =?utf-8?Q?Sch=C3=B6bel-Theuer?= Cc: Andy Lutomirski , X86 ML , LKML , Linux API , "H. Peter Anvin" , Peter Zijlstra , Borislav Petkov , Mike Frysinger , "H. J. Lu" , Rich Felker , x32@buildd.debian.org, Arnd Bergmann , Will Deacon , Catalin Marinas , Linus Torvalds Subject: Re: Can we drop upstream Linux x32 support? References: <6577ac4f-524c-37f4-a4d0-6eb94ec7d9a5@schoebel-theuer.de> Date: Wed, 09 Jan 2019 13:41:14 +0100 In-Reply-To: <6577ac4f-524c-37f4-a4d0-6eb94ec7d9a5@schoebel-theuer.de> ("Thomas \=\?utf-8\?Q\?Sch\=C3\=B6bel-Theuer\=22's\?\= message of "Fri, 14 Dec 2018 22:16:17 +0100") Message-ID: <871s5muhp1.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 09 Jan 2019 12:41:21 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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. Thanks, Florian