On Tue, 3 Sep 2024 14:47:42 +0200 Tomas Glozar <[email protected]> wrote:
> I suggest using the workaround suggested in > https://lore.kernel.org/linux-trace-kernel/[email protected] > for the time being. Together with the patch that adds locks around > stopping the threads > (https://patchwork.kernel.org/project/linux-trace-kernel/patch/[email protected]/), > this should prevent the kernel panic at least until we have a solution > for the race itself. When running my tests, the second one would end up deadlocking and triggering lockdep. I found a way to do basically the same thing with a cpumask and no added locking. I'm currently testing it and will be sending out a patch later today (if it passes the tests). -- Steve
