Messages in this thread | | | Subject | Re: 'perf test sigtrap' failing on PREEMPT_RT_FULL | From | Mike Galbraith <> | Date | Wed, 26 Jul 2023 08:10:45 +0200 |
| |
On Tue, 2023-07-25 at 17:15 -0300, Arnaldo Carvalho de Melo wrote: > Hi Marco, Peter, > > I got a report that 'perf test sigtrap' test failed on a > PREEMPT_RT_FULL kernel, one that had up to: > > commit 97ba62b278674293762c3d91f724f1bb922f04e0 > Author: Marco Elver <elver@google.com> > Date: Thu Apr 8 12:36:01 2021 +0200 > > perf: Add support for SIGTRAP on perf events > ...
> [ 52.848925] BUG: scheduling while atomic: perf/6549/0x00000002
Had bf9ad37dc8a not been reverted due to insufficient beauty, you could trivially make the sigtrap test a happy camper (wart tested in tip-rt).
-Mike
@@ -1829,6 +1869,9 @@ int send_sig_perf(void __user *addr, u32 TRAP_PERF_FLAG_ASYNC : 0;
+ if (force_sig_delayed(&info, current)) + return 0; + return send_sig_info(info.si_signo, &info, current); }
| |