Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp466591iol; Thu, 9 Jun 2022 07:21:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/WLstqelY42megzumC0k8lCBU7oIBbTwmgy9O4GlGCoQOfKR0O9ciLFh+UolFeo8XFWd4 X-Received: by 2002:a63:6a49:0:b0:3fd:df6d:5ba3 with SMTP id f70-20020a636a49000000b003fddf6d5ba3mr16282268pgc.385.1654784509612; Thu, 09 Jun 2022 07:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654784509; cv=none; d=google.com; s=arc-20160816; b=Al+cJMEUefwtqDsTB3ooQFg4h2M5Gnjn7KWpvtHHLK6RCQNoqAB4C3uyOl9EWq+lRt e6CmgtTTNf8HiMuI0c/xor8XB4ZhFm48a5FrN5+o73kV9/Pz9HSUNTyo3+kOtPbM42JJ e2SRXqsl0TVMEHdn1Ef7kRSYdm9ZWbOvKOYUYU0PknOIPO06JYZeC1jvORcMUiifRvC4 ngfEFwLG7atDvsCkAM6Tc6LmrWNpoqQRWANnSe3WkcQQzIgC/7/Q3Wov11LcF/FMdrJK SRd1sFgwQQk/hnpNe9GXp3HRD3F+6ueBWkqeuEcjGLEC3mu1G9kTKJ5Jp5TUBIR5Weuh 97bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ciLcywds5wOdnXeWouFexQ8d/+FNSoE5WBQrR+b6OwM=; b=Bb2pLuXgAPzQZnZuXljn2i4kfz6J2k3EhKxGodv+JH2ewpbqyMB1AKV5YumKIzDtNt Ni8m/deRPrPstCXUM/pIrPAsgHYVMaQo76a2dG/H/jwoZw6qEKo3Bxym6bjWjhX8x7Qz FKlSAfKGCVF1lB5iQchxqwQUPAid112jIsAIkfmw66ndbvfzT+q8KVfg+N1SahdtC7w3 CqB0D8jglsOS/PVWqKspbjjL6GpYOXoRBJBJ1hgCHqUjLPh7AkW6jeWKahBltgQDgW1S cAfBaEmaqtWZzR0OLNk9MlSsfdsXPW5f/tvckkCC4+JDrNcz1zqLvkfY4OKg6R8d2zbA ehUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=mKsWKYf2; 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 k8-20020a633d08000000b0039cf6c5573csi33279968pga.844.2022.06.09.07.21.37; Thu, 09 Jun 2022 07:21:49 -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=@infradead.org header.s=bombadil.20210309 header.b=mKsWKYf2; 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 S242346AbiFIN7R (ORCPT + 99 others); Thu, 9 Jun 2022 09:59:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343932AbiFIN6W (ORCPT ); Thu, 9 Jun 2022 09:58:22 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB7F02AA011; Thu, 9 Jun 2022 06:58:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ciLcywds5wOdnXeWouFexQ8d/+FNSoE5WBQrR+b6OwM=; b=mKsWKYf2pkhC8HfcoFMxBoJXzi K/oB0kSnAezMRQsl3td03sgJoPvVDD9+KSpF5qIneVrf9Mn8EP64LmojGJ0L1hvPJnZrvh4vYTBPx DnlfSnVzEtZylYW3daHrq5wI1c7JfPec1UTHBh3K8uzT+R3qgXgT2eH4vdy+zw/Z9+E3lWhCimGkY P5BA0LHMcGkJnt17ox8V4ir7JNMfXlNDYM3PG1yCL8GGg9dg40ZGZeTin7rarjXKpBWsTscGVeA7G IEIbVBZsSVPLpGmnR+rfBe0iLV+ltHJOsbubUYb7Ul1N2pyj/VQFsOV/lrQ5KaGyy3whNous/JlFd s5sebcsg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzIfy-002MlT-IV; Thu, 09 Jun 2022 13:58:18 +0000 Date: Thu, 9 Jun 2022 06:58:18 -0700 From: Luis Chamberlain To: Geert Uytterhoeven Cc: "Paul E. McKenney" , Kees Cook , Iurii Zaikin , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sysctl: Merge adjacent CONFIG_TREE_RCU blocks Message-ID: References: <20220517155737.GA1790663@paulmck-ThinkPad-P17-Gen-1> <20220519035720.GV1790663@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220519035720.GV1790663@paulmck-ThinkPad-P17-Gen-1> Sender: Luis Chamberlain X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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, May 18, 2022 at 08:57:20PM -0700, Paul E. McKenney wrote: > On Wed, May 18, 2022 at 08:25:41PM -0700, Luis Chamberlain wrote: > > On Tue, May 17, 2022 at 08:57:37AM -0700, Paul E. McKenney wrote: > > > On Tue, May 17, 2022 at 05:07:31PM +0200, Geert Uytterhoeven wrote: > > > > There are two adjacent sysctl entries protected by the same > > > > CONFIG_TREE_RCU config symbol. Merge them into a single block to > > > > improve readability. > > > > > > > > Use the more common "#ifdef" form while at it. > > > > > > > > Signed-off-by: Geert Uytterhoeven > > > > > > If you would like me to take this, please let me know. (The default > > > would be not the upcoming merge window, but the one after that.) > > > > > > If you would rather send it via some other path: > > > > > > Reviewed-by: Paul E. McKenney > > > > The one that that occurs to me is that while at it, Geert, > > can you also just then follow up with a patch 2/2 which then > > moves the sysctl out to the respective RCU code. If you look > > at linux-nxt kernel/sysctl.c is getting modified heavily with > > time to avoid stuffing everyone's sysctls there because this > > creates merge conflicts, make the file hard to read, and we > > have ways to split this. > > > > This work started about 2 kernel releases ago and is ongoing, > > it may take 3-4 more before kernel/sysctl.c stop being a kitchen > > sink of everyone's syctls. > > > > Paul, I've been collecting these modifications in a sysctl-next > > tree to avoid merge conflicts, and I try to not do to much per > > kernel release. If you like I can take this in for that tree > > as well, but as you noted, this would be for the next release, > > not the current one which we'll soon enter the merge window for. > > > > Let me know! > > Please do take it! Geert, I queued this up onto sysctl-next, but would hope you *might* be inclined to move the sysctls out as outlined above to help with the kitchen sink on kernel/sysctl.c. Luis