Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2698655pxk; Sun, 20 Sep 2020 13:50:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGbQ8d+ZjFPSV+SbnJjlI6WXnj9hdmScEshcRQVdgzVteJ6zfvkU78X0nda2J8uEdxHcqR X-Received: by 2002:a17:906:4c89:: with SMTP id q9mr48661798eju.290.1600635048869; Sun, 20 Sep 2020 13:50:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600635048; cv=none; d=google.com; s=arc-20160816; b=DzQ61+66Hyzwo3amfjT769RSCm69zMH0yFtOu6p7TKkBSCufyOLRbOF6EIhU9GpJBc ZjE3F8vX0vIC4zFoJGimTPKLrU1qwCm9yBBFAmrRGELw2o12RS8PO4avjSkTipVpOXuL PQQy/YDbgZwebapaHg5KGac+4envQ2Sqo+LH9J8vmmGEj+jqIU/Z63eAnS8pfXC9xSD2 3lCYXsBFwnHJZ2WFEJcxau5TTqMcbQcN9LsVGHNt0jLHYlUdrxFsKpqIJRWcUdIHxAKC XaPCqHhfAJGeC3CuCaTTNKAAphJVAsiAl19Rf4g/4G1k9oZ7GDY5mNr+DDCNgEqaL4Au GZ0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=R9aqUlMeT4eLhtQTG7tXdRSidKj/t9FBoTpmEwvHxko=; b=JpWrG8UUBZcCSrznqX74zyR9Q3H+kzEhq9QKNMHds3pwzBUSUSJ0RVpMFfnejIyfvK rfqNDuo3oFYEU/A2JKQKz7+xS7S5LFQ0TnW3fjQ6y0CV0LO5ZHFq4ijCRGb83Zr70PwO RYCMtljpLI5pigkPONakzYSXV0XB+un/kZh7V3xwcKn4fviQIhDhRNF1eNwaxaMhM5Ma cjOtR7jcI7cCP/DiezJOCx+7lWCTNi491NlZWTJqfeHw/ggRKfCfDE0jc8yvMO1bLzPv 1ocW5YL4Gc+SixUl6wzxOxoPs/8KwrGR4W0ThxcPWNuOu9Gm30AWhX39VPbgeyiHarSV YxKA== 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 a9si7108507edr.259.2020.09.20.13.50.25; Sun, 20 Sep 2020 13:50:48 -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 S1726430AbgITUt2 (ORCPT + 99 others); Sun, 20 Sep 2020 16:49:28 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:59005 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726126AbgITUt1 (ORCPT ); Sun, 20 Sep 2020 16:49:27 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPSA (Nemesis) id 1N8XHb-1kWs4J3JmT-014Ptw; Sun, 20 Sep 2020 22:49:23 +0200 Received: by mail-qt1-f182.google.com with SMTP id g3so10564365qtq.10; Sun, 20 Sep 2020 13:49:21 -0700 (PDT) X-Gm-Message-State: AOAM533FAqUmi9ggyBgk95+0qEs9x8sjXEEQE6YM9b/GmWlH5oFml7xM tQFQtTWGHBUJ+ZKkulQ0J5mbPHkWHrsIJ3/Vf1A= X-Received: by 2002:aed:2ce5:: with SMTP id g92mr30020804qtd.204.1600634960428; Sun, 20 Sep 2020 13:49:20 -0700 (PDT) MIME-Version: 1.0 References: <20200918124533.3487701-1-hch@lst.de> <20200918124533.3487701-2-hch@lst.de> <20200920151510.GS32101@casper.infradead.org> <20200920180742.GN3421308@ZenIV.linux.org.uk> <20200920190159.GT32101@casper.infradead.org> <20200920191031.GQ3421308@ZenIV.linux.org.uk> <20200920192259.GU32101@casper.infradead.org> In-Reply-To: From: Arnd Bergmann Date: Sun, 20 Sep 2020 22:49:03 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag To: Andy Lutomirski Cc: Matthew Wilcox , Al Viro , Christoph Hellwig , Andrew Morton , Jens Axboe , David Howells , linux-arm-kernel , X86 ML , LKML , "open list:MIPS" , Parisc List , linuxppc-dev , linux-s390 , sparclinux , linux-block , Linux SCSI List , Linux FS Devel , linux-aio , io-uring@vger.kernel.org, linux-arch , Linux-MM , Network Development , keyrings@vger.kernel.org, LSM List Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:CVl0ZST0kq+ZM8bIyVy4buxByYewwVWTGaSQX2cG7S+fxfOLfg4 3IYQ1WP9vOXA8wRJwMcZrEPB4//duV8Ezeyis3yGi12DLKgs/AttJWnePBnn8Tp2+uaC/ge glaUSs0pf4QOVqQCS3dbPqrr+HVUhs3EVO6/ZQWS1fjn9MdptiKjtHzdDpBD3MOE+/lqWn4 qrZAlLdnkVWlRVBK6p/Xg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:f3fveQ4ykwA=:KAthfX0nOA+uyVgjLJ5kAm +/NVDftUAleKVGB39k3aR+WDoJXnKOKr6t0aNGpkuqe7jfEq/uGu2lDt3nAOfF8VCbJPOf4sD EgLD/hnHr9RytPu/kIn5l/M3EBZ8RMtiJ1xJQZNflulbXLsBTwNWmmZ8iZ6gB6DuAOUBSBxSC t853woJyRuBR5tuswbZynFfuGe33fG3jbhQK7yAXsaw9n7fUE0xDXyYvaZCdUz8xqATZDqjey nYZQbfbxA4yMlNPr70CtwEsRXZfZeS1qFqGeT43XWfVwEWJi2jjBUEMh4JhQ21IT5k7O+EobU kGGbTkmhquG64kwlsXoOIPQrgEv7h40navwp6Hox2SlcjftISGtvKG5O/CcTZ1vU4HX/HvuHC kFKPhyT89sDque3Fz2CYyKS24aoMJMsiee2bPj12K0A1+lSil9cIuWHnhrgHHYwgzFDFNtLC0 WyJH63cIEgohAbXtU9AmMhBTOAYK2MBtu5WarlG36VJyxmIEXBsEi8AiU6DMZrkNB7rKhw0SH g7tVgijFac4tF/ImrUh3277u2SPu3b+aCRqOSlL6ujCW6QJNhZT6bEH0UzrVkMQOPe8RX4mqd 3Q3/xiTMKfaOWNw4LpD2G3oAnrxTrvMVK64rlvlguG9O2vzugecMZ1ODciPfxq+rXPGyAfJRu pLeh2aR8vSevKSlkxmTUYkCNXe8vIwxrPDZQZuIOzVaJqVxHH4NzxwbWjk5IyiiV3590nWd2f UB4Gj65iTtx5p/d2Mv52pqinXBPIOrh02+jFufA90d1Pj9Az9vPqOY5Df2zY2LWHaUsBZXxB0 BqJAswtSXAA97rNNoyP5162ODXNDLV8UHH0m6k/E9vkD8feGqKIjajwGStAE1k0b1BXWEin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 20, 2020 at 9:28 PM Andy Lutomirski wrote: > On Sun, Sep 20, 2020 at 12:23 PM Matthew Wilcox wrote: > > > > On Sun, Sep 20, 2020 at 08:10:31PM +0100, Al Viro wrote: > > > IMO it's much saner to mark those and refuse to touch them from io_uring... > > > > Simpler solution is to remove io_uring from the 32-bit syscall list. > > If you're a 32-bit process, you don't get to use io_uring. Would > > any real users actually care about that? > > We could go one step farther and declare that we're done adding *any* > new compat syscalls :) Would you also stop adding system calls to native 32-bit systems then? On memory constrained systems (less than 2GB a.t.m.), there is still a strong demand for running 32-bit user space, but all of the recent Arm cores (after Cortex-A55) dropped the ability to run 32-bit kernels, so that compat mode may eventually become the primary way to run Linux on cheap embedded systems. I don't think there is any chance we can realistically take away io_uring from the 32-bit ABI any more now. Arnd