mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
To: "Tomita, Haruo" <haruo.tomita@toshiba.co.jp>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Isn't there race issue during fput() and the dentry_open()?
Date: Mon, 4 Apr 2005 11:50:29 +0100	[thread overview]
Message-ID: <20050404105029.GY8859@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <BF571719A4041A478005EF3F08EA6DF0D963B0@pcsmail03.pcs.pc.ome.toshiba.co.jp>

On Mon, Apr 04, 2005 at 08:42:30AM +0900, Tomita, Haruo wrote:
> Indeed, Is there a good method of debugging this issue?
> In the check on the source, a doubtful place was not found except file_kill(). 

The obvious way would be to add a variable and do something like
#define file_list_lock() \
	do { \
		spin_lock(&files_lock); \
		holder_pid = pid; \
	} while(0)
and add a way to check its value (anything - sysrq, whatever).

That assumes that you can reproduce that deadlock at will, obviously...

  reply	other threads:[~2005-04-04 10:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-03 23:42 Tomita, Haruo
2005-04-04 10:50 ` Al Viro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-04-05  4:46 Tomita, Haruo
2005-04-03  1:56 Tomita, Haruo
2005-04-03  5:00 ` Al Viro

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=20050404105029.GY8859@parcelfarce.linux.theplanet.co.uk \
    --to=viro@parcelfarce.linux.theplanet.co.uk \
    --cc=haruo.tomita@toshiba.co.jp \
    --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®