Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1004799rdg; Wed, 11 Oct 2023 11:21:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHG7E8odg8VZ4BVKAKH5C4HIaURefZ7qu0Ca/pvTSzIT/JBDDwKMBZIVei8mb/D00gDn/Ir X-Received: by 2002:a05:6a20:734b:b0:14c:de3:95d6 with SMTP id v11-20020a056a20734b00b0014c0de395d6mr22336137pzc.45.1697048493801; Wed, 11 Oct 2023 11:21:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697048493; cv=none; d=google.com; s=arc-20160816; b=Clt1x4nFyUpPt+0VP+9bnrdQqgkbhlQYyGfpUWxeqSpzzgCwQ+I0jx8He54oLaC5aN MlUziQ+cgv7FpZxx/Rk4iO65Pej9CCxUJfUDcdAITa5cMLv4QE496UetjRSZ7Sv5dSKJ HUFqfTZ8sweFKIGddVQxDw9lgGcNOhW7Wi6+opShjR4t8reHXH81bcA622JQzTsxKK+g i70PDCUkpSDdmHXn4XhNc0CEuHFOxrf5looZSn34SuE2Lr4dNUfuPz4PN8fmbYDX9dNg oPLbliImSCLcLdUUuBcS/SLRnOV++59CPQsd+aEYeMFtAQBda2fT7AZ40wSQX3AqJHK0 FpWg== 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=HFAlnaB24n8Vccy/pdsjKZDoqB44FpUE4W7kqqRtmzU=; fh=ffCz++njVREF4LFoGIKUCk+Nu3uS3LsiK6rXR5FCV7E=; b=oNOoW/XFz08/o/ttHBgCVaaE9YSLVRfZFPWuaKDJnKFZtCZK8PoNzKFmc+Cn7SCFSJ /FMgupJSZF7jujUZp+SpMYfFPPtrjaO0a3YZML9TmXh+TaMmD79WtX/XdwxuAXIAm8tq 8jo7UQghqbt1xpBYI9CogkLETZJNWZazBtGLnGISotYMiLCOMRxQHsKzp+XFaQV6q+hD B8A0zKRj6U21i2OtQodatNaaybknjm+dla/i4mlgQyR8ryyOPa8mlfh1UcE7EmoVF5AY aHZF8Mb69QpEHVgOOKOhZ+4c2UNHyT/ewCU+9Qh8Psv5hDxtOmzaXABphuj8laiw7RWY 8fvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=a6EXS732; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id m16-20020a63fd50000000b00588d84b1215si40129pgj.876.2023.10.11.11.21.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 11:21:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=a6EXS732; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 91A318229188; Wed, 11 Oct 2023 11:21:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234965AbjJKSVW (ORCPT + 99 others); Wed, 11 Oct 2023 14:21:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233213AbjJKSVV (ORCPT ); Wed, 11 Oct 2023 14:21:21 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2166293; Wed, 11 Oct 2023 11:21:20 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-9b96c3b4be4so16814166b.1; Wed, 11 Oct 2023 11:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697048478; x=1697653278; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=HFAlnaB24n8Vccy/pdsjKZDoqB44FpUE4W7kqqRtmzU=; b=a6EXS732yZFGZvDVv4+G+aj4vxziXjJFdqY4Jt9IveD7LkPuAiXuQF7LMXg7/cGAWP LUO+hyJy/cwxaHI+rR5Du4So18AoGW6bIQXQcCrVeDjAbONM1/IwAqqoXKi9LMbAJz2S 2mm3OGcF4oYPcgwZoaeV7+2OH0oLEp5VJgi1ltm4u7p3CyfDSy6dlHcbI3h9uzsMp5wm Ej9JttSIcGykCCUEhkwp7xnrg75Vt0eDToZjUkNgHYhTuZ+77qumTddyClcoCS4pWTo+ gRAWLUfrRrybX5rafrSJ9CFcM8jPNVZvE/pIM6B+UXLOHBSMxn63uJ9FAOmaoiHIu1CB iKBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697048478; x=1697653278; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HFAlnaB24n8Vccy/pdsjKZDoqB44FpUE4W7kqqRtmzU=; b=ObKmMmCW619I4XRf2ct+DwRwAqRA6H1/sjihpXJZqRW4RyNucOQwpcWy13yzqPjPPH H+AUW7PAhU03snnzMlhLX+VF6bTwUUDqw16yB2sFweh23F2WfAD0Mj7S4zfwayvg+WUr SYF6Pkv5F9xyV7nstVzjJ4CxJOP8vYYAkAYPIERLNJDaifXOAcC/yqZw9BHlETKmKHFs KJDogtB1nFiAehCywgYbH+P58soPN1FtOQcOH7IU23mpsk1EanuD4+E1Mu2h1FZsRDCV WFBhL0gTaUAualz25oppvU5wK9MKrRl8vSgpRVnmSXL1dUZf9g2DoAqW/2Iw3x5QLeqU RxkQ== X-Gm-Message-State: AOJu0Yw05rAw4CPcNXeZ+PHM8PYI1g4tneiunXhg++G0GuPrMgfKjtWo 6jklao+vwTb6vjO3f1R/yw== X-Received: by 2002:a17:906:1db2:b0:9ba:2b14:44fb with SMTP id u18-20020a1709061db200b009ba2b1444fbmr6862093ejh.47.1697048478367; Wed, 11 Oct 2023 11:21:18 -0700 (PDT) Received: from p183 ([46.53.254.83]) by smtp.gmail.com with ESMTPSA id v19-20020a1709064e9300b00988e953a586sm10044924eju.61.2023.10.11.11.21.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 11:21:17 -0700 (PDT) Date: Wed, 11 Oct 2023 21:21:16 +0300 From: Alexey Dobriyan To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] *: mark stuff as __ro_after_init Message-ID: <530824e8-3ee1-4919-ad59-1ff4c4ad9089@p183> References: <4f6bb9c0-abba-4ee4-a7aa-89265e886817@p183> <20231011105211.3135013317249184bcc81982@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231011105211.3135013317249184bcc81982@linux-foundation.org> X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 11 Oct 2023 11:21:31 -0700 (PDT) X-Spam-Level: ** On Wed, Oct 11, 2023 at 10:52:11AM -0700, Andrew Morton wrote: > On Wed, 11 Oct 2023 19:55:00 +0300 Alexey Dobriyan wrote: > > > __read_mostly predates __ro_after_init. Many variables which are marked > > __read_mostly should have been __ro_after_init from day 1. > > > > Also, mark some stuff as "const" and "__init" while I'm at it. > > I did this: > > From: Andrew Morton > Subject: mark-stuff-as-__ro_after_init-fix > Date: Wed Oct 11 10:46:42 AM PDT 2023 > > revert sysctl_nr_open_min, sysctl_nr_open_max changes due to arm warning Oops, last minute changes as usual. But it is for the best, I have better patch.