On Fri, Jun 21 2024, Gerd Möllmann wrote: >> There is a function mps_arena_busy, that might be useful. The doc says >> that it should only be used for debugging. But the implementation >> actually checks if the arena holds a lock. > > Yes, the SIBPROF handler could at least return early then. Perhaps something like this?