[PATCH v3 00/17] Compress the pmu_event tables

John Garry john.garry at huawei.com
Fri Aug 5 01:11:21 PDT 2022


On 02/08/2022 10:08, John Garry wrote:
> 
> 
>> we can ignore the costs of the strings as
>> they should be fully shared, especially for BDW-DE.
> 
> Are you sure about this? I did not think that the compiler would have 
> the intelligence to try to share strings. That is the basis of the size 
> optimisation which I was proposing (that the compiler would not share 
> strings).

JFYI, I am finding that all identical strings are shared, which is good.

Thanks,
John



More information about the linux-arm-kernel mailing list