Skip to contentSkip to conversation

perf/x86/intel/bts: allocate bts_ctx only if necessary

PATCH Li,Rongqing 1 participant 1 message Oct 30, 2024

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines
Quoted 2 lines

Avoid unnecessary per-CPU memory allocation on unsupported CPUs, this can save 12K memory for every CPU

Looks reasonable, but have you tested it? This driver is in serious danger of bitrot ever since KPTI. It might save even more if we simply remove the whole thing.

I fine to remove it, Could you send a patch to remove it

Thank

-Li