Re: [PATCH 2/2] perf/x86/amd: Don't allow pre-emption in amd_pmu_lbr_reset()

From: Peter Zijlstra
Date: Tue Oct 24 2023 - 18:35:54 EST


On Tue, Oct 24, 2023 at 01:30:59PM -0500, Mario Limonciello wrote:

> In that case - should preemption be disabled for all of x86_pmu_dying_cpu()
> perhaps?
>
> For good measure x86_pmu_starting_cpu() too?

starting and dying are with IRQs disabled.