Re: [PATCH v3 00/17] Compress the pmu_event tables

From: John Garry
Date: Fri Aug 05 2022 - 04:11:28 EST


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