public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Josef Bacik <jbacik@fusionio.com>
To: Dave Jones <davej@redhat.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
	"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs crash when low on memory.
Date: Wed, 27 Feb 2013 08:27:36 -0500	[thread overview]
Message-ID: <20130227132736.GH19641@localhost.localdomain> (raw)
In-Reply-To: <20130227052247.GA20213@redhat.com>

On Tue, Feb 26, 2013 at 10:22:47PM -0700, Dave Jones wrote:
> Something I've yet to repeat managed to leak a whole bunch of memory
> while I was travelling, and locked up my workstation.
> 
> When I got home, this was the last thing printed out before it locked up
> (it did make it into the logs thankfully) after a bunch of instances of
> the oom-killers handywork.

Yeah we have a lot of

ptr = kmalloc();
BUG_ON(ptr);

everywhere.  I'll fix this one up but I really need to sit down and go through
all of them and make sure we do the right thing in all these places.  Thanks,

Josef

  parent reply	other threads:[~2013-02-27 13:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27  5:22 btrfs crash when low on memory Dave Jones
2013-02-27 10:28 ` Martin Steigerwald
2013-02-27 13:27 ` Josef Bacik [this message]
2013-02-27 14:31   ` Ahmet Inan
2013-02-27 18:26     ` Josef Bacik
2013-02-27 20:10       ` Ahmet Inan
2013-02-27 21:11         ` Josef Bacik
2013-02-27 21:20           ` Ahmet Inan
2013-03-04 22:07     ` Martin Steigerwald

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=20130227132736.GH19641@localhost.localdomain \
    --to=jbacik@fusionio.com \
    --cc=davej@redhat.com \
    --cc=linux-btrfs@vger.kernel.org \
    --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