Re: [PATCH bpf-next v2] bpf: Fix mmap_lock leak in irq_work path
From: Sanghyun Park
Date: Mon Aug 03 2026 - 21:11:44 EST
On Mon, Aug 3, 2026 at 5:44 PM UTC, Andrii Nakryiko
<andrii.nakryiko@xxxxxxxxx> wrote:
>
> I'm just not sure that re-queueing works if irq_work_is_busy() returns
> true, please double check. If that doesn't work, then we can miss the
> irq_work callback, which would be bad.
I see your point. I double-checked this, and re-queueing seems to work.
However, keeping the irq_work_is_busy() check only adds one flag read, so the
performance impact is quite negligible. I'll keep both checks in a conservative
manner.