From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] (was RE: IA64 test report:Umount cdrom oops : 2.6.6 /Lion 2004-5-13: 8/10 pass)
Date: Wed, 19 May 2004 18:33:19 +0000 [thread overview]
Message-ID: <16555.43119.756718.750345@napali.hpl.hp.com> (raw)
In-Reply-To: <3ACA40606221794F80A5670F0AF15F840462309C@PDSMSX403.ccr.corp.intel.com>
>>>>> On Wed, 19 May 2004 21:45:31 +0800, "Yu, Luming" <luming.yu@intel.com> said:
Luming> I added a printk after lock_kernel() at:
Luming> lock_kernel();
Luming> printk("do_umount: depteh = %d\n", current->lock_depth);
Luming> DQUOT_OFF(sb);
Luming> acct_auto_close(sb);
Luming> unlock_kernel();
Luming> Then the OOPs is gone, and umounting cdrom is surprisingly
Luming> working well.
Luming> After some investigation, I found that ,if there is no
Luming> printk statement. then above code should looks like:
Luming> (Because other 2 statements are defined as blank )
Luming> lock_kernel(); unlock_kernel();
Luming> [snip...]
Luming> Hmm, maybe its memory ordering issue here.
How interesting. Do you have CONFIG_PREEMPT enabled?
--david
next prev parent reply other threads:[~2004-05-19 18:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-19 13:45 [PATCH] (was RE: IA64 test report:Umount cdrom oops : 2.6.6 /Lion 2004-5-13: 8/10 pass) Yu, Luming
2004-05-19 14:22 ` Matthew Wilcox
2004-05-19 18:33 ` David Mosberger [this message]
2004-05-20 2:30 ` Yu, Luming
2004-05-20 2:31 ` Yu, Luming
2004-05-20 3:22 ` David Mosberger
2004-05-20 3:45 ` Yu, Luming
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=16555.43119.756718.750345@napali.hpl.hp.com \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@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