Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp184288rdb; Thu, 19 Oct 2023 00:51:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH8VyuWOxR+yRye9QcBy7urttL0we7AifxxJKsyTZZLUUYRrQFjVb2GHGMCoRcFbPboxYEg X-Received: by 2002:a17:902:ecc3:b0:1bc:4415:3c1 with SMTP id a3-20020a170902ecc300b001bc441503c1mr1942754plh.7.1697701909043; Thu, 19 Oct 2023 00:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697701909; cv=none; d=google.com; s=arc-20160816; b=sSQrgn486SNEBFBaRD7c/gmrPXkDjLEZG+YCHfcUVqDLAPf+q0PWm+JdnS/URJIXkU X0a/66ummYeqB+odgY69BcCe2KZlL/cpmX+7mTFpXnaC6dpobaCSIgZeIC73tULX+bJL db/QcirUfTO/l4wX+vUqahhqmUzTmXA98ZqeibfnrjYwP0oDQKKLtFIX4C6Tr+QYN3bI J3kwtKMWjGiw5pM2/XTZT/H9AKsiUZqm+an/14fdiEu44/R2jDtipMbjYL2JPT7qrNPB A8A1wqhuct7f7c9Kuo/VFn1lcBgOTRHxTcT1CIQILlfXhip6zgjHBq+VjdcicjGtoSa4 UPtQ== 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=hdmxkyx4i9SyDB0WhK7r4B7CZdTyhseaIQqNI+PeQKM=; fh=fEr1bRl0FqI1UcEabVh2duTtzhkyBGSsM/B+0wwnK44=; b=dBURY98DNvsEqHwJCg6qCJz9N60frhFysikSk6+90Xv3K5UYTxDilMvhalVhNvyI+L zqjLZViy3nn2KW0SXAVzlPWcchlND3jB+gKm9u5wBQxky986Q8mPsdy4eeBGvrpPvx67 wJoUabIYkd1QTR3+xnNrchK7NBPVrJxzoJ6aNLpNotpXUGwZ2Cr+AXEOjVw0E9mPketU l+MtvdKywSQE+Sl+PqTzShJxf5bIYYBOya9xMoNs3mnysFyXKFDD/LbkDDUUqKqHpdRL oV6pde5RJHuVtz7TA8sEq8xxV+ax8gzeGcVl6H6h+/QW7Xc70DKWjp29oWmEtuju+XhZ UQug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="O5mf/qxw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id y13-20020a17090322cd00b001c72476c96fsi1781979plg.143.2023.10.19.00.51.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 00:51:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="O5mf/qxw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D160782224C9; Thu, 19 Oct 2023 00:51:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233122AbjJSHvn (ORCPT + 99 others); Thu, 19 Oct 2023 03:51:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232927AbjJSHvl (ORCPT ); Thu, 19 Oct 2023 03:51:41 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EAEB124 for ; Thu, 19 Oct 2023 00:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=hdmxkyx4i9SyDB0WhK7r4B7CZdTyhseaIQqNI+PeQKM=; b=O5mf/qxwDhkC4R7xVs8sWoCorc 6J+bJpIW3wxzyKeYvM/7belpvFHOD6ghLxPe+ylwno0UWU5qC2KRh/BU/Y/3Ah5LQwc7wx3x18OSY 20h34x8vsrM9bhAoGnvJfD76SxOlx54ETfhgrqQG8th4YvidqEM9ISo1X1OtEPvmHHAvjna9+fT2o 5xmNKXPkDhTZKAvj2AK5KjidHVVLROx45k+SGEijyHKqnnJCUwT4wXOhnCKWvfDY7mWAv9QhcCDKM HM0U7Qy39g7WaSoxGCbTGK7FoiKjHF1cpII4ztY/gDkMx98ImDJmXWkwEe+csWn6+lbQfmjg9Zl8m XNOVFC0Q==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qtNoV-005qlN-C7; Thu, 19 Oct 2023 07:51:27 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 0EDEC300392; Thu, 19 Oct 2023 09:51:27 +0200 (CEST) Date: Thu, 19 Oct 2023 09:51:27 +0200 From: Peter Zijlstra To: Srikar Dronamraju Cc: Michael Ellerman , linuxppc-dev , Christophe Leroy , Nicholas Piggin , Rohan McLure , Valentin Schneider , Josh Poimboeuf , "ndesaulniers@google.com" , Mark Rutland , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 5/6] powerpc/smp: Add read_mostly attribute Message-ID: <20231019075127.GO33217@noisy.programming.kicks-ass.net> References: <20231018163751.2423181-1-srikar@linux.vnet.ibm.com> <20231018163751.2423181-6-srikar@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231018163751.2423181-6-srikar@linux.vnet.ibm.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 19 Oct 2023 00:51:46 -0700 (PDT) On Wed, Oct 18, 2023 at 10:07:45PM +0530, Srikar Dronamraju wrote: > There are some variables that are only updated at boot time. > So add read_mostly attribute to such variables You don't have __ro_after_init ?