Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2212949rwb; Thu, 27 Jul 2023 04:04:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlHs2bfpnkpj4vbdpGJ2KF05kouJKWUAlcmn4wwLjpvTrvjQgP01Xpr8VdQIbkPmCc8tQFh4 X-Received: by 2002:a17:902:cec3:b0:1b7:ffb9:ea85 with SMTP id d3-20020a170902cec300b001b7ffb9ea85mr5754462plg.29.1690455874164; Thu, 27 Jul 2023 04:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690455874; cv=none; d=google.com; s=arc-20160816; b=zgjUhZ3i9L9PLgfqUo6MlXvfR4tLxgpswJ22TWsIhaVDajMDaQK0LRUhU1jmfSp3Hm kmv/VPwnlstN4PEgCo1L4lcZE/e6CVv9KHUrAc6eDD8qDZYGokK9w2DR76QcO5jhoWCw nr8AUiapBIJI6WLyYHCBKMZVzCC9pzJHyiGQ4U8fT8QzOg103zxE1yLOFpOgKl5FUw1Y q/muVpovVcA57fHjeC+VxIurgYiVl+0XC/xhRF2YcouPJv3BuGjFKpy6fScWl8VEnKIJ OaMbg50BtYJH2MpYEGAckpAyL0gcXdjGSfGYKzQ7tZCKzz31WrtArExGm5d4uWCzqLkG /+6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/9bUMsxsCR2uN7CYVuUFLPHxT/YIVbXv1EKfhmx5TIA=; fh=uknzP+utx7ED89DzRehBnNc9ulsPJMqVX1LnGjmjgVA=; b=QrWws3Hb8+M4yUTDoBq4owxB5LISLMXnvPgEQxH37F6Y0XK8pSs6vg+r6dQc0m8Wf1 i8bdMZ2JTGm6B54Q9f7a9z2Q72tHPgxdHWzjEul2aQsxat+SvL+mF+5Vz2wxeE5dfEbd TmfXuV0ELfWveO6Wlhb+lErqESM9hnLA7hS07umScbzEtV5xWeHdNHpdWJxCICNU3GJ4 17zh+MuhGeYk4MjeSiQsIAITkUpAJTHqYB1yZC7M8hbEiINZ8rkMrFb78NDScBSuTDRK CwILYp+7z9nlxqPGIeubQmBCoRZKBfwigk18QLQ7IxWu8OoP8PeQreHqn2GB90RxGnn6 abgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="la4Lmi/D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k5-20020a170902d58500b001bb95a5cb9fsi1168806plh.522.2023.07.27.04.04.21; Thu, 27 Jul 2023 04:04:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="la4Lmi/D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234359AbjG0KiW (ORCPT + 99 others); Thu, 27 Jul 2023 06:38:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233332AbjG0KiO (ORCPT ); Thu, 27 Jul 2023 06:38:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E2AB26A6; Thu, 27 Jul 2023 03:38:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C5B8761DD3; Thu, 27 Jul 2023 10:38:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2484BC433C7; Thu, 27 Jul 2023 10:38:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690454292; bh=wh4ycVHyDy/meMpcFy2ujkA7FnfZIbKiF964oBpVy5w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=la4Lmi/DhdfArnUIJ/DbZ78SFqaneHcZNAsl7vyC6Bp1sh+e4HQI8e4jBnieO39j6 Rmq90io/GLqGoqqH4KkgjJEuKDDwP558rmmvSt0FVF7KhEbTHcezlFb9UppkdHYSda jhi/dMRwdDkMKonZJKiGKFXJNLOHTIEijgJrGqqlhNsPV0MkiTVFgniC59vxFaHMe+ /PgQ2nYibh/PpeGMNXJPhBkYhxE3bGCCuiviuqMrlry/Jp24MyFm3S6udZz5sJhaZ+ s1t/etXhC/mU8K1VZK7pw57PG4j5iKPd/L4jWewp3rgGuvPk9cYY28p/tSjAv5ikoK B2c9Xn3Ycs/Lg== Date: Thu, 27 Jul 2023 12:37:58 +0200 From: Christian Brauner To: Aleksa Sarai Cc: Alexey Gladkov , LKML , Arnd Bergmann , linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, Palmer Dabbelt , James.Bottomley@hansenpartnership.com, acme@kernel.org, alexander.shishkin@linux.intel.com, axboe@kernel.dk, benh@kernel.crashing.org, borntraeger@de.ibm.com, bp@alien8.de, catalin.marinas@arm.com, christian@brauner.io, dalias@libc.org, davem@davemloft.net, deepa.kernel@gmail.com, deller@gmx.de, dhowells@redhat.com, fenghua.yu@intel.com, fweimer@redhat.com, geert@linux-m68k.org, glebfm@altlinux.org, gor@linux.ibm.com, hare@suse.com, hpa@zytor.com, ink@jurassic.park.msu.ru, jhogan@kernel.org, kim.phillips@arm.com, ldv@altlinux.org, linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux@armlinux.org.uk, linuxppc-dev@lists.ozlabs.org, luto@kernel.org, mattst88@gmail.com, mingo@redhat.com, monstr@monstr.eu, mpe@ellerman.id.au, namhyung@kernel.org, paulus@samba.org, peterz@infradead.org, ralf@linux-mips.org, sparclinux@vger.kernel.org, stefan@agner.ch, tglx@linutronix.de, tony.luck@intel.com, tycho@tycho.ws, will@kernel.org, x86@kernel.org, ysato@users.sourceforge.jp Subject: Re: [PATCH v4 3/5] arch: Register fchmodat2, usually as syscall 452 Message-ID: <20230727-fangen-olympiade-85fcbdaf03d7@brauner> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 26, 2023 at 02:43:41AM +1000, Aleksa Sarai wrote: > On 2023-07-11, Alexey Gladkov wrote: > > From: Palmer Dabbelt > > > > This registers the new fchmodat2 syscall in most places as nuber 452, > > with alpha being the exception where it's 562. I found all these sites > > by grepping for fspick, which I assume has found me everything. > > Shouldn't this patch be squashed with the patch that adds the syscall? > At least, that's how I've usually seen it done... Depends. Iirc, someone said they'd prefer for doing it in one patch in some circumstances on some system call we added years ago. But otoh, having the syscall wiring done separately makes it easy for arch maintainers to ack only the wiring up part. Both ways are valid imho. (cachestat() did it for x86 and then all the others separately. So really it seems a bit all over the place depending on the scenario.)