Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1676717pxb; Mon, 12 Apr 2021 04:09:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwi80LEkjXmViPGEaxQsvcq36Za8JlmrB53PqMKQNK04hLTli6ZhYb5uL64873pjXBkPsre X-Received: by 2002:a17:90a:e501:: with SMTP id t1mr27342385pjy.203.1618225748920; Mon, 12 Apr 2021 04:09:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618225748; cv=none; d=google.com; s=arc-20160816; b=UeW/AKS0/iB1skgHdk6d+2kxJ83SbQ50QfJs3doLTeBtFA3c3W8KgZQUHenV4jt/Va PP8til2xutUPlxZSd4dy3I53BT1A/HwKEOx80iPGUOvebUvAJPBWNageT3A+Df/ONh2p 8MI/kuR1LtegC0SQCBfunaO+aXbXJt841LyDQSS+pIwg9B2QS+oDks3GqfWZFKHEvMfM MqaCjtL/U/Lf2KfZCZ8YZD4ikITDVfA9brwzgfs3x995izBJKll2OU47cNnPDEmfBBy1 cwgCIIW7iGEr+OpfBcNw2XdbZCXge3mJfN+bnpxgcU6sEcl/uBIVouJcT5blKupPoYw1 SQZA== 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=G7tdPvijdrF0YjSy0XfaKLVnd1cAYtpwBpObBioXdiM=; b=wCUnhh32m5F41sZ2uw/8Tl3GowDRWpKOEXJuPM0EZ65sgvNWCsp/etEZ/W47s0zigu mgnwRqfNaDIrzKWEGZJvbl4DvCX1FzjJ5QlDjIPiLCUFbJNsNHpL5CoAvw0xgy56B0PB OsLC/8S8j2fwvacar48kzC/RQtNIZMScgPogxcqf6l0AscqoB1E13pso2Ad+n6XbxQeJ Ed32+OPkyiJC2dR/pDAhrDPrdApN3C2VwOtn3V+VjWDpLYmiyBXL7jAgms5tL0TBbad2 Xw5zYC7VOHSsfDD8xU4DGSWpqrMhGVQ1EXZKleuuUtR2mpAndnDx+NUrKed88jpRO6dW 6T4w== 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 lt4si14867508pjb.55.2021.04.12.04.08.56; Mon, 12 Apr 2021 04:09:08 -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 S238951AbhDLLI1 (ORCPT + 99 others); Mon, 12 Apr 2021 07:08:27 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:53631 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237520AbhDLLI0 (ORCPT ); Mon, 12 Apr 2021 07:08:26 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N01hu-1limhd0Cm6-00x2Y9; Mon, 12 Apr 2021 13:08:07 +0200 Received: by mail-wr1-f49.google.com with SMTP id r7so486967wrm.1; Mon, 12 Apr 2021 04:08:06 -0700 (PDT) X-Gm-Message-State: AOAM530kQU+SWLQJpCrwmQQGgxSEIZ08QcB5wNowZYUuxUaX+CWCebhI B2RgDHQEDlW8EH8hzCSYBGL+bJKjHyFaHW+ksT8= X-Received: by 2002:a5d:6dc4:: with SMTP id d4mr1862692wrz.105.1618225686459; Mon, 12 Apr 2021 04:08:06 -0700 (PDT) MIME-Version: 1.0 References: <20210412085545.2595431-1-hch@lst.de> <16c471554aa5424fbe2f6a4fd60bd662@AcuMS.aculab.com> In-Reply-To: <16c471554aa5424fbe2f6a4fd60bd662@AcuMS.aculab.com> From: Arnd Bergmann Date: Mon, 12 Apr 2021 13:07:50 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: consolidate the flock uapi definitions To: David Laight Cc: Christoph Hellwig , linux-arch , linux-s390 , Thomas Bogendoerfer , Parisc List , Vasily Gorbik , linuxppc-dev , Catalin Marinas , Helge Deller , "the arch/x86 maintainers" , Linux Kernel Mailing List , "David S. Miller" , "James E.J. Bottomley" , Christian Borntraeger , sparclinux , "open list:BROADCOM NVRAM DRIVER" , Will Deacon , Heiko Carstens , Linux ARM Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:aMjINWTCNsywgUKJHr5XLQHjAWqLnW10OtrvhDt4Sjy4ramW0iZ YAHBpKd6ESZiIkKxmpuR7HnYx3TxbJR41IscVjRIveQLtxtCXWSa6pHw5sNKN5hcpvU3xVG 4P0DpiJcgAQaQJQH0Ugq21h2zqSBi1T8xu2zLftyuZXjq6CMtnPSxlsgDDpTeqt053PO6vv H236ZR3IDZI98em3VdDPw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:APH3gvIsclk=:tX2NAsnJ6r1Mnr2TqMqExk c3MFahvIPwnxJfnehjGIFIYfEiWv0VyDosIyoYcHCrhneSsleyzgCza47EJTcKjC94LkNqh2g 1wT8QXMgatA9YyEUVj4ieUHu7JHaCfjh4EFZprftIeXKrARLb1B+hw/sbZkHimGkd25c1ypbP ZwEAHALENJ91zTJI9NwUU64QtJ8RcC6Bx1beXAFImONDQp+vIQAxCdK5411Pa8ZOVxQVRwQDP ynn+bxJAn3oLAZjvpMmhhYYEisWiy+OpPYO5SMXNejFse1w1DTt5BJkEA81M+zotZ19MpWByl Ocmcqw/pzT28Q1N1ElHc5k/hLGiFrH4D+PVzdqsWTH6PDmqP/yPkleZiA1kXwOWMDGXsCyWFQ puzYgzv+fh7ndcDQiou3olVrb65xNaQNvGRsvV2OIr4ytmnX/v86mYvxgo7QbdeMxcPLd3hcM bjGOP0LWH6l305bcdMmRwecMkK0BDNrYO09k1FdqD0yyaq5w7eFGEsFUnXpPmzF3EL6HroANX y0yR4gGxzVopN/nxvPZK/EMMRh9JUZU4AbTsPL+Vn+dWj/2yBoxn5aE55YdUIf4DaT5OA23xg YAyxsnINSuk+odt3au8C2xn4dtRTzvIbG4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 12, 2021 at 12:22 PM David Laight wrote: > > From: Arnd Bergmann > > Sent: 12 April 2021 11:04 > > > > On Mon, Apr 12, 2021 at 10:55 AM Christoph Hellwig wrote: > > > > > > Hi all, > > > > > > currently we deal with the slight differents in the various architecture > > > variants of the flock and flock64 stuctures in a very cruft way. This > > > series switches to just use small arch hooks and define the rest in > > > asm-generic and linux/compat.h instead. > > > > Nice cleanup. I can merge it through the asm-generic tree if you like, > > though it's a little late just ahead of the merge window. > > > > I would not want to change the compat_loff_t definition to compat_s64 > > to avoid the padding at this time, though that might be a useful cleanup > > for a future cycle. > > Is x86 the only architecture that has 32bit and 64bit variants where > the 32bit variant aligns 64bit items on 32bit boundaries? Yes. > ISTM that fixing compat_loff_t shouldn't have any fallout. That is my assumption as well, but I still wouldn't take the risk one week before the merge window. Arnd