[PATCH v2 5/6] powerpc/smp: Add read_mostly attribute

Srikar Dronamraju srikar at linux.vnet.ibm.com
Thu Oct 19 23:56:16 AEDT 2023


* Peter Zijlstra <peterz at infradead.org> [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


More information about the Linuxppc-dev mailing list