Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp331840rdb; Thu, 19 Oct 2023 06:02:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGSPdriJ+YrCTF57CkoptCvum2Xhm+jW2axAkvcKd3EaA+gknMG9TdVfjzZ8jhi0xt3Ff7X X-Received: by 2002:a05:6359:5c1f:b0:134:fdfc:4319 with SMTP id pu31-20020a0563595c1f00b00134fdfc4319mr1775444rwb.20.1697720572889; Thu, 19 Oct 2023 06:02:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697720572; cv=none; d=google.com; s=arc-20160816; b=eoO5STQRSjT9VfituORoUAJN5VABCOXzFbJPXHefFH5EZg0myFp+MHUsM+0KZc5zjL aMCAgywgP/A5t08O9V8yZeBN6z7u97wN1x7deIuJsKYSwqxU70qfUs3+FIYbVIebV+ut +dMfutnq0Cc8nmEWCddBHPV/vtkOOVKdKgpbCUHMp08pQnwyUHpaSlyS6QM8ELzMxRSr iHznF+e9o1DMRxXI2wJyhKWa53B8EIwQuQkPGyNFUl7k3bqX18CZMv7mB4njpa0UHwAD gztVQ7nhPgHnj8UQIyv5jTjHHm4F5SAMxeGjwruT5Chh0LHKlIDsqI2sN7APNs1Uc8vY YYHQ== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=yf4IcXVcrNcuhRh2wRgb7cNGWg0uTSpEKYE3297IzlM=; fh=sFehqEdoMMRIQ7XTbvf9vy6PB5y6ey6nL59vp7QePgs=; b=hrVCME+XqmfH2Tju28JSJH3NhAZiq3itvPVya10B9rdDZUihIxnkifTh1JhIo5P8Km 1gpyck4W20q0qVqPyAxIBFqcb7zGDW7grviAgJGxwwwBqN6be6w4QgNK3SF4bKcYjvDG fTjWgR9TFuLTdGUdC65AB6vmvcDOmqzGJ70SMwQrdpuoMjbWV49R0aVNbKu0Tej1oy2A m3Qu4ug83uJaQSP/z+FTS5Rr3PAfaWWK1gRjxFSB+Tz0GyLaiZXz58OzgCBXvrWtivU9 Ca5NqSVhyF/sg6ENJ0OLJWWQ7lK3doqtndAA9aMZhKJfo0W08O5HJIdt3S3uCtmApfVn qScw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=jE4TeDLQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id x4-20020a056a00188400b006be30cdc3d8si6393231pfh.163.2023.10.19.06.02.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:02:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=jE4TeDLQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 83E3E81FD9F1; Thu, 19 Oct 2023 06:02:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235489AbjJSNBY (ORCPT + 99 others); Thu, 19 Oct 2023 09:01:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235373AbjJSNBD (ORCPT ); Thu, 19 Oct 2023 09:01:03 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A362846A8 for ; Thu, 19 Oct 2023 05:58:40 -0700 (PDT) Received: from pps.filterd (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39JCtVle025392; Thu, 19 Oct 2023 12:56:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : reply-to : references : mime-version : content-type : in-reply-to; s=pp1; bh=yf4IcXVcrNcuhRh2wRgb7cNGWg0uTSpEKYE3297IzlM=; b=jE4TeDLQxqpGd4i1rqH3MLZm3XqC/+lGRE+v+kFuax/uaSr+wQS5frL/xxJ0PwqJLjIt IIpoNmDvEYhLEXQ8ZYl9Xbil3+0cgSJscpenuPHwJ5cACap23EZ6gfUn4mR+8ciofkCx XEHgKKWXCJp18pZDL7skszSHzFdmgWMMQ+LRHjd6P/Z9/Bf7GdPZDT5Xc31R6NINHyzk ou3QZmGigqv9fH7wgqCynRg8wLiY/Hj4Exkg5IYQ7RWFf558QgMxwFacMk39ZYILetB3 BehSRBAU5EM0AKNJRadZgzy70eqKsP+beu46gS/KOBGQizX74U8k+RahsM3C6YS76TNN zg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3tu4vwr1t2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 12:56:25 +0000 Received: from m0353722.ppops.net (m0353722.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 39JCtu0x027815; Thu, 19 Oct 2023 12:56:24 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3tu4vwr1kh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 12:56:24 +0000 Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 39JAF9BO019900; Thu, 19 Oct 2023 12:56:21 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3tr8120chk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 12:56:21 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 39JCuJNv41615848 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 Oct 2023 12:56:19 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6DAA320043; Thu, 19 Oct 2023 12:56:19 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 21FBF2004E; Thu, 19 Oct 2023 12:56:17 +0000 (GMT) Received: from linux.vnet.ibm.com (unknown [9.126.150.29]) by smtpav07.fra02v.mail.ibm.com (Postfix) with SMTP; Thu, 19 Oct 2023 12:56:16 +0000 (GMT) Date: Thu, 19 Oct 2023 18:26:16 +0530 From: Srikar Dronamraju To: Peter Zijlstra 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: <20231019125616.GH2194132@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20231018163751.2423181-1-srikar@linux.vnet.ibm.com> <20231018163751.2423181-6-srikar@linux.vnet.ibm.com> <20231019075127.GO33217@noisy.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20231019075127.GO33217@noisy.programming.kicks-ass.net> X-TM-AS-GCONF: 00 X-Proofpoint-GUID: XrfQh50Grxml6pHTQR1_hgD7aagAvdk8 X-Proofpoint-ORIG-GUID: Jvhyne0APab16AckP9vvIoOnPucDrYTM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-19_11,2023-10-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 spamscore=0 mlxscore=0 adultscore=0 bulkscore=0 mlxlogscore=536 lowpriorityscore=0 phishscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310190110 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Thu, 19 Oct 2023 06:02:40 -0700 (PDT) * Peter Zijlstra [2023-10-19 09:51:27]: > 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 ? Michael also responded with the same input, will change over to __ro_after_init in the next iteration. -- Thanks and Regards Srikar Dronamraju