Re: [PATCH v5 2/2] perf/core: Disable context fast-swap for sigtrap events
From: Peter Zijlstra
Date: Wed Nov 25 2026 - 08:36:13 EST
On Wed, Nov 25, 2026 at 06:09:04PM +0800, Tengda Wu wrote:
> >> Ah, I'm currently running it on an SPR Xeon; do I need to use
> >> non-default arguments or just run the thing in a loop and drink tea
> >> until it goes pop?
> >
> > No need to pass any other arguments; running it as follows should be enough:
> >
> > for i {1..100}; do ./fast_swap ; done
> >
>
> Correction: for i in {1..100}
I used: while :; do ./perf-sigtrap-switch-poc; done
> One more detail: I also specified a boot parameter (which might make it
> easier to reproduce?):
>
> preempt=none
That option is no longer available.
Anyway, I've had it running for a few hours now; but no joy :-( -- this
is an unmodified tip/master kernel since I wanted to make sure I could
reproduce before trying to fix.
I'll just leave it running ...