perf/x86/intel/bts: allocate bts_ctx only if necessary
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