On Tuesday, January 7th, 2025 at 11:08 AM, Ihor Solodrai <ihor.solodrai@xxxxx> wrote: > > > This is v4 of the series aiming to speed up parallel reproducible BTF > encoding. This version mostly addresses feedback from Jiri Olsa on v3. > > A notable adition is a patch 10/10, which changes func_states in > btf_encoder from a list to an array. > > [...] Alan, Arnaldo, I'd like to also remind about two small patches that I sent separately: * dwarves: set cu->obstack chunk size to 128Kb * https://lore.kernel.org/dwarves/20241221030445.33907-1-ihor.solodrai@xxxxx/ * btf_encoder: fix memory access bugs * https://lore.kernel.org/dwarves/20241216183112.206072-1-ihor.solodrai@xxxxx/ In particular, obstack chunk size change significantly improves the runtime of BTF encoding on top of this patch series, on the machines\ with lots of cores. Please take a look at them when you get a chance. They can be applied independently. Thanks.