On 2025-05-08 17:32:24 [-0300], André Almeida wrote:
+ if (!__futex_pivot_hash(mm, new) && custom)
+ goto again;
Is it safe to use a goto inside a scoped_guard(){}?
We jump outside of the scoped_guard() and while testing I've been
looking at the assembly and gcc did the right thing. So I would say why
not. The alternative would be to do manual lock/unlock and think about
the unlock just before the goto statement so this looks "easier".