All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Dave Hansen <haveblue@us.ibm.com>
Cc: Matthew Wilcox <willy@debian.org>, linux-fsdevel@vger.kernel.org
Subject: Re: race with i_flock?
Date: Tue, 16 Jul 2002 23:32:29 -0700	[thread overview]
Message-ID: <3D350F7D.EE921A03@zip.com.au> (raw)
In-Reply-To: 3D34D5F4.2060008@us.ibm.com

Dave Hansen wrote:
> 
> I've been getting some funny freezes while running Specweb.  I don't
> think this is the cause, but I did run into it.
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0xc0147540 in may_open (nd=0xdaa69f78, acc_mode=6, flag=3)
>      at /home/dave/oprofile/linux-2.5.25/include/linux/fs.h:1047
> 
> which is:
> static inline int get_lease(struct inode *inode, unsigned int mode)
> {
> ------->if (inode->i_flock && (inode->i_flock->fl_flags & FL_LEASE))
>                  return __get_lease(inode, mode);
>          return 0;
> }

I get that on about every 1000th reboot (ie: once a week ;))

I have a poke around in kgdb when it happens and everything
looks just fine.  So what must be happening is that some
other CPU has come in and fixed up the pointer before the
kgdb stub captured that CPU.

I'll grab a trace next time.

-

  reply	other threads:[~2002-07-17  6:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-17  2:27 race with i_flock? Dave Hansen
2002-07-17  6:32 ` Andrew Morton [this message]
2002-07-17 11:55 ` Matthew Wilcox
2002-07-17 22:31   ` Dave Hansen
2002-07-18  1:07     ` Matthew Wilcox

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=3D350F7D.EE921A03@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=haveblue@us.ibm.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=willy@debian.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.