All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Davidlohr Bueso <davidlohr@hp.com>,
	Hugh Dickins <hughd@google.com>, Linux MM <linux-mm@kvack.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Rik van Riel <riel@redhat.com>,
	Michel Lespinasse <walken@google.com>,
	"akpm@linux-foundation.org" <akpm@linux-foundation.org>
Subject: Re: [BUG] kernel BUG at mm/vmacache.c:85!
Date: Tue, 29 Apr 2014 15:29:04 +0530	[thread overview]
Message-ID: <535F77E8.2040000@linux.vnet.ibm.com> (raw)
In-Reply-To: <CA+55aFwGjYS7PqsD6A-q+Yp9YZmiM6mB4MUYmfR7ro02poxxCQ@mail.gmail.com>

On 04/29/2014 03:55 AM, Linus Torvalds wrote:
> On Mon, Apr 28, 2014 at 3:14 PM, Davidlohr Bueso <davidlohr@hp.com> wrote:
>>
>> I think that returning some stale/bogus vma is causing those segfaults
>> in udev. It shouldn't occur in a normal scenario. What puzzles me is
>> that it's not always reproducible. This makes me wonder what else is
>> going on...
> 
> I've replaced the BUG_ON() with a WARN_ON_ONCE(), and made it be
> unconditional (so you don't have to trigger the range check).
> 
> That might make it show up earlier and easier (and hopefully closer to
> the place that causes it). Maybe that makes it easier for Srivatsa to
> reproduce this. It doesn't make *my* machine do anything different,
> though.
> 
> Srivatsa? It's in current -git.
> 

I tried this, but still nothing so far. I rebooted 10-20 times, and also
tried multiple runs of multi-threaded ebizzy and kernel compilations,
but none of this hit the warning.

Is there anything more specific I can run to increase the chances of
hitting this? I guess a test-case might be too much to ask since I'm
the first one hitting this, but if anybody has suggestions of scenarios
which have a higher likelihood of hitting this (like running multi-
threaded workloads or whatever), I could probably give it a try as well.

Thank you!

Regards,
Srivatsa S. Bhat

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Davidlohr Bueso <davidlohr@hp.com>,
	Hugh Dickins <hughd@google.com>, Linux MM <linux-mm@kvack.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Rik van Riel <riel@redhat.com>,
	Michel Lespinasse <walken@google.com>,
	"akpm@linux-foundation.org" <akpm@linux-foundation.org>
Subject: Re: [BUG] kernel BUG at mm/vmacache.c:85!
Date: Tue, 29 Apr 2014 15:29:04 +0530	[thread overview]
Message-ID: <535F77E8.2040000@linux.vnet.ibm.com> (raw)
In-Reply-To: <CA+55aFwGjYS7PqsD6A-q+Yp9YZmiM6mB4MUYmfR7ro02poxxCQ@mail.gmail.com>

On 04/29/2014 03:55 AM, Linus Torvalds wrote:
> On Mon, Apr 28, 2014 at 3:14 PM, Davidlohr Bueso <davidlohr@hp.com> wrote:
>>
>> I think that returning some stale/bogus vma is causing those segfaults
>> in udev. It shouldn't occur in a normal scenario. What puzzles me is
>> that it's not always reproducible. This makes me wonder what else is
>> going on...
> 
> I've replaced the BUG_ON() with a WARN_ON_ONCE(), and made it be
> unconditional (so you don't have to trigger the range check).
> 
> That might make it show up earlier and easier (and hopefully closer to
> the place that causes it). Maybe that makes it easier for Srivatsa to
> reproduce this. It doesn't make *my* machine do anything different,
> though.
> 
> Srivatsa? It's in current -git.
> 

I tried this, but still nothing so far. I rebooted 10-20 times, and also
tried multiple runs of multi-threaded ebizzy and kernel compilations,
but none of this hit the warning.

Is there anything more specific I can run to increase the chances of
hitting this? I guess a test-case might be too much to ask since I'm
the first one hitting this, but if anybody has suggestions of scenarios
which have a higher likelihood of hitting this (like running multi-
threaded workloads or whatever), I could probably give it a try as well.

Thank you!

Regards,
Srivatsa S. Bhat


  reply	other threads:[~2014-04-29 10:00 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 19:18 [BUG] kernel BUG at mm/vmacache.c:85! Srivatsa S. Bhat
2014-04-28 19:18 ` Srivatsa S. Bhat
2014-04-28 19:20 ` Srivatsa S. Bhat
2014-04-28 19:20   ` Srivatsa S. Bhat
2014-04-28 21:20 ` Linus Torvalds
2014-04-28 21:20   ` Linus Torvalds
2014-04-28 21:55   ` Linus Torvalds
2014-04-28 21:55     ` Linus Torvalds
2014-04-28 22:05     ` Hugh Dickins
2014-04-28 22:05       ` Hugh Dickins
2014-04-28 22:14       ` Davidlohr Bueso
2014-04-28 22:14         ` Davidlohr Bueso
2014-04-28 22:25         ` Linus Torvalds
2014-04-28 22:25           ` Linus Torvalds
2014-04-29  9:59           ` Srivatsa S. Bhat [this message]
2014-04-29  9:59             ` Srivatsa S. Bhat
2014-04-30 19:16             ` Srivatsa S. Bhat
2014-04-30 19:16               ` Srivatsa S. Bhat
2014-04-30 19:18               ` Srivatsa S. Bhat
2014-04-30 19:18                 ` Srivatsa S. Bhat
2014-04-30 19:20                 ` Srivatsa S. Bhat
2014-04-30 19:20                   ` Srivatsa S. Bhat
2014-04-30 20:26               ` Linus Torvalds
2014-04-30 20:26                 ` Linus Torvalds
2014-05-01  3:56               ` Hugh Dickins
2014-05-01  3:56                 ` Hugh Dickins
2014-04-28 22:39     ` Davidlohr Bueso
2014-04-28 22:39       ` Davidlohr Bueso
2014-04-28 22:58       ` Linus Torvalds
2014-04-28 22:58         ` Linus Torvalds
2014-04-28 23:11         ` Andrew Morton
2014-04-28 23:11           ` Andrew Morton
2014-04-28 23:57           ` Linus Torvalds
2014-04-28 23:57             ` Linus Torvalds
2014-04-29  0:11             ` Davidlohr Bueso
2014-04-29  0:11               ` Davidlohr Bueso
2014-04-29 10:02               ` Srivatsa S. Bhat
2014-04-29 10:02                 ` Srivatsa S. Bhat
2014-04-29 12:52                 ` [PATCH] vmacache: change vmacache_find() to always check ->vm_mm Oleg Nesterov
2014-04-29 12:52                   ` Oleg Nesterov
2014-04-29 13:09                   ` Srivatsa S. Bhat
2014-04-29 13:09                     ` Srivatsa S. Bhat
2014-04-29 14:02                     ` Oleg Nesterov
2014-04-29 14:02                       ` Oleg Nesterov
2014-04-29 12:40               ` [BUG] kernel BUG at mm/vmacache.c:85! Oleg Nesterov
2014-04-29 12:40                 ` Oleg Nesterov
2014-04-29  8:02       ` Srivatsa S. Bhat
2014-04-29  8:02         ` Srivatsa S. Bhat
2014-04-29  7:59     ` Srivatsa S. Bhat
2014-04-29  7:59       ` Srivatsa S. Bhat
2014-04-29  0:00 ` Dave Jones
2014-04-29  0:00   ` Dave Jones
2014-04-29  8:21   ` Srivatsa S. Bhat
2014-04-29  8:21     ` Srivatsa S. Bhat

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=535F77E8.2040000@linux.vnet.ibm.com \
    --to=srivatsa.bhat@linux.vnet.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=davidlohr@hp.com \
    --cc=hughd@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=riel@redhat.com \
    --cc=torvalds@linux-foundation.org \
    --cc=walken@google.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 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.