Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp511841ybz; Wed, 29 Apr 2020 04:30:40 -0700 (PDT) X-Google-Smtp-Source: APiQypLgm2LxaXx9VugPKf0L6Src+W9AKlbS2bzvJGtVvBK+Ut/EIVQO/REArd0ljD5AwgzHVAGA X-Received: by 2002:a05:6402:1d93:: with SMTP id dk19mr1896046edb.170.1588159840508; Wed, 29 Apr 2020 04:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588159840; cv=none; d=google.com; s=arc-20160816; b=ZqBySFNgxE75lZbfD/tqK9vpd6CXjbIeOIqvLUkA0gbxQHdb4oWw2mND0+muekUoUQ OxzsaBvjDgCKy+n9kQsZ6z525F1KORNSHEgfzqSH7IV1O+nPCxNJxqVb4eU+0oi2iEaO toISd6p/mcSb26RkG2ygV8qvtB0azEDVVpuw47IR/eXogZkLA8BymeaFblGYWrF3RjnX PJXQi+TfA3Nr+X6Fo09RNtrmxIXLYjq4dYbmXqRaYO4QJNEHWqANwbejJSpWJIWbw3rx H6+XkHg6GmMB0WQ7vc/tRuAEci7R4xHlAqyiqbJ915weUVw7DVhrC45iPKJmWIBofPvo P8pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=a/KiJYZ59zGLNmM+6ExJTVxpLCEnN8t+eiIpMrXpshQ=; b=gsIP/5HHAY2y3V1q+3BP45ZK99ye1NF66SZfC9lHQOX7IO7oEeK57/9/4n2zcAjZjB jkCvFIIEn8KXcgMEwqVyJkw58FXnTWW55jfCD+bDOKg3P++AEZzgEqVrLFkJy8DB5rku cDqzPiOEVR2YNVxJzHTPNdhx8FAHQ5usIvXzSQZxnkXVLR6KqI786LUUMuVeeJiH4dGS RtXhXmiQ8cYmEmA6QlfkmVkFpE65SzpRggM+uxqCRS5I4GW9i2/WrhuzuTyk0ypMwFUZ w+q+qLsgaiJQTwQY5+oIz1TPF7SbUGj502rPDQcMUcYz6IbxeXVmHJZf/jkHo+4FXE6I g6lQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l21si3240618eds.265.2020.04.29.04.30.16; Wed, 29 Apr 2020 04:30:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726781AbgD2L2b (ORCPT + 99 others); Wed, 29 Apr 2020 07:28:31 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:59125 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbgD2L2b (ORCPT ); Wed, 29 Apr 2020 07:28:31 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MdNoW-1iuh7V0QCm-00ZRuF; Wed, 29 Apr 2020 13:28:29 +0200 Received: by mail-qt1-f182.google.com with SMTP id 71so1431749qtc.12; Wed, 29 Apr 2020 04:28:28 -0700 (PDT) X-Gm-Message-State: AGi0PuaeMu9/AjuDipLfLN315tZJAwUZQqGbnk7VJog+jkad7KXDSoyO VebC0GhF2CCjsTjSnKx/99gRhDgXWbgz1M/7Eqg= X-Received: by 2002:ac8:2bce:: with SMTP id n14mr33266506qtn.18.1588159707900; Wed, 29 Apr 2020 04:28:27 -0700 (PDT) MIME-Version: 1.0 References: <20200428074827.GA19846@lst.de> <20200428195645.1365019-1-arnd@arndb.de> <20200429064458.GA31717@lst.de> <20200429094201.GA2557@lst.de> In-Reply-To: <20200429094201.GA2557@lst.de> From: Arnd Bergmann Date: Wed, 29 Apr 2020 13:28:11 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] fixup! signal: factor copy_siginfo_to_external32 from copy_siginfo_to_user32 To: Christoph Hellwig Cc: Andrew Morton , Alexander Viro , Jeremy Kerr , "Eric W . Biederman" , linuxppc-dev , Linux FS-devel Mailing List , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:0pgJ5+AUr0ZyAZ0GWg4eqDI1TnA/whWfuLpkrrMSvxYAWjINppE a7v/Ni2HcIVXKKwWpO6EnpmvcyOe0F5Ar+DzumTtjDwkyvsoWUEDtYRfZrJrzooiSz/8GjQ qiXdDOaE0kundOZXs40d686yOrTu1CHCpwIPasAhVGLbC9IZGTEU2/fhf11HAbf4YtVV8i6 g/qyC1yHRA4zl1bYvXA6w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:uZLu5qNCOnI=:SkzXkn6DWZomBu4HZnQGBD 2kgdRSn4t5CJI8Wsq9jLbwCEr6+MpFosTMnh2L3Bag9xsujcFudbhIAy4KGCnj3+9dCqG42PA X6oT+a5dy/u6nGvKRvfgkkwPe9usVTHypWqyMmS8cTiK+IUyWd2m/eyEN9pqz2G3iJuKcXUby cl17xihPdmxb8W7AX2P+jEN6NNle9VtLW/tZepA2fyUQOPEQ5zGWd1wtXyrBsM1oP3GiQNiLi o2zV26/liDzNGtEQWPrhJN/NZjESzGtAdZoW/pO0+IHUAgRsSXtWrmbBH5kSy4Fso5LCmOw7k rgf7a/EADdwfzg8OAEF5ZqlYsJxWf/NK5YMAC/n6Iw/ncPEHrSDMJ4u6LffvPhDyy9MWt3CcG Tn5jxqkP1EUD68kJmOF6pCm6nCTArhm5VjmADtD6yx0Sy1zXXztP4ZsNdFIQBeDtyBOhDqFKK zfhMywjnem/aO0xoJOesgzvzEGKYpoYbMpbNQ2fPnpjzpe1PZePIRRSQElmSaQV2t0J0IxFZi PBTOmCGajnrkNy8CG9RVy+QDtKPjg3k7IuFGnrFNq/Hx5ROjALOxqZY4vq9mZBE+ZIm8aJNxz /RtsHAor6ldAP/sR9+JEjhxIeHm+2Slhfh0lp92JieGeITFM4t4IKobyGIZAitVO+1xtSDz55 nAX6CkUyjn94xfXYpRjirE8G/YEDxQLOFx/6Opq12qrt8lxPRiVv7RXjFL7n/x6dEUiNvf1wc qqwslQVvSgpE1WP2pB1aB5ZZVLJFH4Rvphw/Jxn1yzk2fWuwBclynm8ZZExl8guqNwfIAd5gz kH2bRaxVSlXjTkybabnvVuijWDVuipq4UvhRsk/aFlAm5ZGdcU= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 29, 2020 at 11:42 AM Christoph Hellwig wrote: > > On Wed, Apr 29, 2020 at 10:07:11AM +0200, Arnd Bergmann wrote: > > > What do you think of this version? This one always overrides > > > copy_siginfo_to_user32 for the x86 compat case to keep the churn down, > > > and improves the copy_siginfo_to_external32 documentation a bit. > > > > Looks good to me. I preferred checking for X32 explicitly (so we can > > find and kill off the #ifdef if we ever remove X32 for good), but there is > > little difference in the end. > > Is there any realistic chance we'll get rid of x32? When we discussed it last year, there were a couple of users that replied saying they actively use it for a full system, and some others said they run specific programs built as x32 as it results in much faster (10% to 20%) execution of the same binaries compared to either i686 or x86_64. I expect both of these to get less common over time as stuff bitrots and more of the workloads that benefit most from the higher performance (cross-compilers, hpc) run out of virtual address space. Debian popcon numbers are too small to be reliable but they do show a trend at https://popcon.debian.org/stat/sub-x32.png I would just ask again every few years, and eventually we'll decide it's not worth keeping any more. I do expect most 32-bit machines to stop getting kernel updates before 2030 and we can probably remove a bunch of architectures including x32 before then, though at least armv7 users will have to get kernel updates for substantially longer. Arnd