Re: [PATCH dwarves 4/5] btf_encoder: represent "."-suffixed optimized functions (".isra.0") in BTF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 1/25/23 10:56, Arnaldo Carvalho de Melo wrote:
Em Wed, Jan 25, 2023 at 09:54:26AM -0800, Kui-Feng Lee escreveu:
On 1/24/23 05:45, Alan Maguire wrote:

  ... skip ...
If the number of static functions with suffices is high, the contention of
the lock would be an issue.

Is it possible to keep a local pool of static functions with suffices? The
pool will be combined with its parent either at the completion of a CU,
before ending the thread or when merging into the main thread.
May help, but I think maybe premature optimization is the root of... :-)


It is true.  However, we already encountered the lock contention issue

when doing parallelization previously.  It is very likely to have the same

issue here.


FYI, I did some tests and had numbers in another thread.

https://lore.kernel.org/bpf/9d2a5966-7cef-0c35-8990-368fc6de930d@xxxxxxxxx/





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux