From: Coywolf Qi Hunt <coywolf@gmail.com>
To: li nux <lnxluv@yahoo.com>
Cc: linux <linux-kernel@vger.kernel.org>
Subject: Re: lock_kernel twice possible ?
Date: Sat, 15 Oct 2005 15:33:09 +0800 [thread overview]
Message-ID: <2cd57c900510150033o7bd44608vdc57cb32e335b933@mail.gmail.com> (raw)
In-Reply-To: <20051015070426.56781.qmail@web33314.mail.mud.yahoo.com>
On 10/15/05, li nux <lnxluv@yahoo.com> wrote:
> Hi,
>
> I was going thru the NFS v3 code for SMP kernel 2.6.11
> to see how an inode gets revalidated. I found that
> there is a possibility that there may be an attempt to
> do lock_kernel() twice.
>
> Is this possible ? If yes then how this deadlock
> condition is/can be avoided.
The BKL is recursive!
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
next prev parent reply other threads:[~2005-10-15 7:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-15 7:04 lock_kernel twice possible ? li nux
2005-10-15 7:33 ` Coywolf Qi Hunt [this message]
2005-10-15 7:38 ` li nux
2005-10-15 7:47 ` Coywolf Qi Hunt
2005-10-19 21:29 ` Bill Davidsen
2005-10-20 7:00 ` Steven Rostedt
2005-10-15 7:58 ` Mitchell Blank Jr
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=2cd57c900510150033o7bd44608vdc57cb32e335b933@mail.gmail.com \
--to=coywolf@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lnxluv@yahoo.com \
/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