From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BED1CCDB465 for ; Thu, 19 Oct 2023 07:52:43 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=O5mf/qxw; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4SB0Lf3Rbbz3cRY for ; Thu, 19 Oct 2023 18:52:42 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=O5mf/qxw; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=infradead.org (client-ip=2001:8b0:10b:1236::1; helo=casper.infradead.org; envelope-from=peterz@infradead.org; receiver=lists.ozlabs.org) Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 4SB0KP5tCGz3ck9 for ; Thu, 19 Oct 2023 18:51:37 +1100 (AEDT) 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 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-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Valentin Schneider , "ndesaulniers@google.com" , linux-kernel@vger.kernel.org, Nicholas Piggin , Rohan McLure , linuxppc-dev , Josh Poimboeuf Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 ?