Re: Deadlock in net/sunrpc/sched.c

From: Simon Derr
Date: Fri Mar 03 2006 - 03:52:06 EST


On Thu, 2 Mar 2006, Trond Myklebust wrote:

> > Now to exit this loop, B needs to reach __rpc_do_wake_up_task() where a
> > list_del will occur. But for this the RPC_TASK_WAKEUP must be released by
> > process A, and this won't happen until process B releases the queue
> > spinlock. --> deadlock.
>
> Could you see if this fixes it?
>
> Cheers,
> Trond


Thanks, I will apply it.
But don't hold your breath though, this happened on a large cluster with
high security and restricted access so I can't just try it like I would
on my desktop machine.
There will probably be several weeks before I get back to you.

Simon.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/