On Tue, 02 Jun 2026 13:29:58 +0800, Junrui Luo wrote:
> When an invoke is interrupted by a signal,
> wait_for_completion_interruptible() returns -ERESTARTSYS and
> fastrpc_internal_invoke() moves every buffer from fl->mmaps onto
> cctx->invoke_interrupted_mmaps. This list_del()/list_add_tail() walk
> runs without holding fl->lock, the lock that serialises fl->mmaps in
> fastrpc_req_mmap() and fastrpc_req_munmap() everywhere else.
>
> [...]
Applied, thanks!
[1/1] misc: fastrpc: take fl->lock when moving mmaps on interrupted invoke
commit: fbb084ef5f984af90aa56fa063d278a54e677cf9
Best regards,
--
Srinivas Kandagatla <[email protected]>