From: Frederik Deweerdt <deweerdt@free.fr>
To: Simon Derr <Simon.Derr@bull.net>
Cc: linux-kernel@vger.kernel.org, FACCINI BRUNO <Bruno.Faccini@bull.net>
Subject: Re: Deadlock in net/sunrpc/sched.c
Date: Thu, 2 Mar 2006 11:59:40 +0100 [thread overview]
Message-ID: <20060302105940.GA9521@silenus.home.res> (raw)
In-Reply-To: <Pine.LNX.4.61.0603021116030.15393@openx3.frec.bull.fr>
On Thu, Mar 02, 2006 at 11:38:10AM +0100, Simon Derr wrote:
> This happened with 2.6.12 but it seems that the code has not changed and
> the issue is very probably still present in the current kernels.
Looks like it's fixed in 2.6.16-rc5, could you check agains the current
tree?
> + spin_lock_bh(&queue->lock);
> if (rpc_start_wakeup(task)) {
> if (RPC_IS_QUEUED(task)) {
> struct rpc_wait_queue *queue = task->u.tk_wait.rpc_waitq;
>
> - spin_lock_bh(&queue->lock);
> __rpc_do_wake_up_task(task);
> - spin_unlock_bh(&queue->lock);
> }
> rpc_finish_wakeup(task);
> }
> + spin_unlock_bh(&queue->lock);
Hmm, not sure this will even compile...
Regards,
Frederik
next prev parent reply other threads:[~2006-03-02 10:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-02 10:38 Simon Derr
2006-03-02 10:59 ` Frederik Deweerdt [this message]
2006-03-02 11:45 ` Simon Derr
2006-03-02 12:17 ` Simon Derr
2006-03-02 17:51 ` Frederik Deweerdt
2006-03-02 17:58 ` Trond Myklebust
2006-03-02 18:33 ` Frederik Deweerdt
2006-03-02 17:31 ` Trond Myklebust
2006-03-02 17:45 ` Trond Myklebust
2006-03-03 8:53 ` Simon Derr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060302105940.GA9521@silenus.home.res \
--to=deweerdt@free.fr \
--cc=Bruno.Faccini@bull.net \
--cc=Simon.Derr@bull.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®