From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 396B4C43465 for ; Fri, 18 Sep 2020 13:54:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0E6C323119 for ; Fri, 18 Sep 2020 13:54:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726471AbgIRNyD (ORCPT ); Fri, 18 Sep 2020 09:54:03 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:48359 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726121AbgIRNyC (ORCPT ); Fri, 18 Sep 2020 09:54:02 -0400 X-Greylist: delayed 306 seconds by postgrey-1.27 at vger.kernel.org; Fri, 18 Sep 2020 09:54:00 EDT Received: from mail-qt1-f172.google.com ([209.85.160.172]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MrPVJ-1knbdq0vFn-00oYej; Fri, 18 Sep 2020 15:48:53 +0200 Received: by mail-qt1-f172.google.com with SMTP id b2so4955831qtp.8; Fri, 18 Sep 2020 06:48:51 -0700 (PDT) X-Gm-Message-State: AOAM531xWIKITHj3YUM+JIXBR8vgsqUe9SWmTjS6i03lCHMTteGlgg9h Gesw4ojO5qB0qfK1QEzYh9lYuf98x4MuwjzO9A0= X-Google-Smtp-Source: ABdhPJwdeFcN0FjnibbBFg2qZA4+ButX9r5NAMFGHqmQR0795JOFdGKPWzC17cLOf78yKvN1tKg1lyeC+rdsG229l2M= X-Received: by 2002:aed:31e5:: with SMTP id 92mr24508630qth.18.1600436930879; Fri, 18 Sep 2020 06:48:50 -0700 (PDT) MIME-Version: 1.0 References: <20200918124533.3487701-1-hch@lst.de> <20200918124533.3487701-9-hch@lst.de> In-Reply-To: <20200918124533.3487701-9-hch@lst.de> From: Arnd Bergmann Date: Fri, 18 Sep 2020 15:48:35 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 8/9] mm: remove compat_process_vm_{readv,writev} To: Christoph Hellwig Cc: Alexander Viro , Andrew Morton , Jens Axboe , David Howells , Linux ARM , "the arch/x86 maintainers" , "linux-kernel@vger.kernel.org" , "open list:BROADCOM NVRAM DRIVER" , Parisc List , linuxppc-dev , linux-s390 , sparclinux , linux-block , linux-scsi , Linux FS-devel Mailing List , linux-aio , io-uring@vger.kernel.org, linux-arch , Linux-MM , Networking , keyrings@vger.kernel.org, LSM List Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:Q8EZMOri4TBYhlknoKWRbdN7TbthGP/5lV4QZxZSCS2kXQRegOz crn8YMEG3zY+yUU81E38PaQTIpBOkDxjR4XroOZtmLdN0eDr9iw1sb1kp54wedcGz880ckD nAjWoeEwJOYtLfmGZr3pB0Z3r3MbVnaLhmYg9e1aO5sQM3zkJ/9qk+SG26nsCUabm4GA8jL Uyq9nTZiW2tWCev0Ajn3w== X-UI-Out-Filterresults: notjunk:1;V03:K0:fyZnCuMlQ0U=:T4cV9ojRcQChU1kYa6Faz2 2fHk2eqskdC7z9+Fqp1AQXIMGBCtnsDqy+BRk/MvcGQaiMrc3w9zYv31f5B5wvzpozAl84u6e S8LucqVvth1SJFgI81/CEsjw9YFYm0643XN0VPT6TRGy+l+NL0qG6ZcKKOEFwARMfBu1hSK8o Hy/bt+B8Hzb2tazcUxd/poYfDR/AzA/Mwge5rmE9k48648UV8YU1fTJaXyTFNj3gkhdyN//CN gZ6kDJLM6GmGVmX3lMP8JJ4XmChZtNGdB6Fa5u7nqnM0lXNM76JtOgnfLhy3mNI6TlRZOdW2y sUIVV3YgocvcrS6ShgH8YcWqc7Wj7x3sx/1XKvDPJpASKI2UBE5lR8oE6O6/pQY8eJMhwMwbU 1wb499zYKc6lTCBsNJcFP/sdiKG2fuS0TfrWJ/xkcoLODp8SyWmY/ASM56WstVzqw2mm4lY21 4ph1q19i/mvCLZm81ldIWsLHmhohTcLs2+LlBudCW/p0/XajI6RWRK81iPFwavHoiVuwBru9g 4uhDjuOvpgtcGq9WUZFxckg/jvz8AiBNjMTt3uxe5IsJiN4Nx/rn+wkU5Noofd2jPiuqLy7Mg P1bD/Mqc7PIf81rYi3f3WFVZR+dVbuI0MyTaXMyK+T3xcv91hgkhsTwWTcXgwf9klNzctZEB+ JbB2ZVHAzNpwT6+twOpsW4cxY82CLfJIBuS++bdjsxOzjXUN9NkrBQvzw1LGiykV1ZV6IXNw4 ku1mt4/uDZy0/S3R/WZVZE8lJUcRgt5Tj5EYKCaNMY8Nt432XGof7zyp1lgau1PjsygTu/w3O FLhsC/Gvnrs8k9+5Wyh0c80vAcq515OKa9QV4EWbi00LTPrwKl35WMXHt4sA4nKbVfDSQZS Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Fri, Sep 18, 2020 at 2:45 PM Christoph Hellwig wrote: > > Now that import_iovec handles compat iovecs, the native syscalls > can be used for the compat case as well. > > diff --git a/arch/x86/entry/syscall_x32.c b/arch/x86/entry/syscall_x32.c > index a4840b9d50ad14..f2fe0a33bcfdd5 100644 > --- a/arch/x86/entry/syscall_x32.c > +++ b/arch/x86/entry/syscall_x32.c > @@ -17,6 +17,8 @@ > #define __x32_sys_getsockopt __x64_sys_getsockopt > #define __x32_sys_setsockopt __x64_sys_setsockopt > #define __x32_sys_vmsplice __x64_sys_vmsplice > +#define __x32_sys_process_vm_readv __x64_sys_process_vm_readv > +#define __x32_sys_process_vm_writev __x64_sys_process_vm_writev > > #define __SYSCALL_64(nr, sym) > I forgot this hack existed, and just sent a patch with subject "x86: add __X32_COND_SYSCALL() macro" instead. If I understand this right, the macros above should no longer be needed once my patch gets merged. Arnd