public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: Kernel fails on Dreamcast - results of bisection
Date: Mon, 23 Mar 2009 01:18:28 +0000	[thread overview]
Message-ID: <20090323011827.GA18310@linux-sh.org> (raw)
In-Reply-To: <1237675045.27611.23.camel@localhost.localdomain>

On Sun, Mar 22, 2009 at 06:30:46PM +0000, Adrian McMenamin wrote:
> On Mon, 2009-03-23 at 00:43 +0900, Paul Mundt wrote:
> > On Sun, Mar 22, 2009 at 01:49:46PM +0000, Adrian McMenamin wrote:
> > > On Sun, 2009-03-22 at 20:13 +0900, Paul Mundt wrote:
> > > > On Sat, Mar 21, 2009 at 11:39:25PM +0000, Adrian McMenamin wrote:
> > > > > (I am now getting a lot of messages about failures of the udev script -
> > > > > possibly because I have just turned a lot of debugging stuff on - in any
> > > > > case the system does boot and works with that commit reverted).
> > > > > 
> > > > These messages are about allocation failures, the exact same thing that
> > > > leads to your OOM. (It does help to actually read the error messages
> > > > rather than dismiss them as superfluous). While it is possible that the
> > > > timer patch pushed you over the edge on memory allocation, nothing else
> > > > suggests that you have pinpointed the real problem. Obviously udev did
> > > > not used to hit allocation failures, and we need to know when that
> > > > started, or what you did to your environment that causes it.
> > > > --
> > > 
> > > Could you explain what you mean by "These messages are about allocation
> > > failures, the exact same thing that leads to your OOM."
> > > 
> > It seems pretty self evident. If a virtual filesystem is returning
> > allocation failures, you have a problem, and you need to figure out why
> > you are getting those allocation failures from udev. The timer patch
> > might cause enough pressure that it makes the problem manifest in an oops
> > more readily, but your system is completely broken or without the timer
> > patch if you can't allocate pages to create device nodes, period.
> > 
> > > Isn't one a failure to allocate space on a block device and the other
> > > running out of memory, or have I missed something?
> > > 
> > What do you think the backing store for udev is?
> 
> 
> 
> It's memory use is arbitrarily set in a config file. It's not the same
> as running out of memory, just reaching that limit.
> 
No, it's not the same as running out of memory, but at no point did I
suggest it was, only that it served to increase pressure, and that if you
were already hitting allocation failures from that alone, then whether
something on the kernel side pushes the system in to an OOM condition on
top of that is hardly the root issue.

> In any case I have not been able to reproduce those messages without the
> debug options set to the max, but I have certainly been able to
> reproduce the OOM condition.
> 
> There is clearly a regression here. I am puzzled about why you seem so
> anxious not to acknowledge that there is.
> 
I am aware of the fact there is a regression, my point is that it seems
something got broken much earlier and that the timer change in question
is ultimately not the main issue. In the kernel we prefer to debug and
fix root problems rather than the symptoms that fall out of them. If you
don't wish to bisect down to the point where you didn't get allocation
failures in userspace, that is likewise entirely up to you. 

  parent reply	other threads:[~2009-03-23  1:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-21 22:37 Kernel fails on Dreamcast - results of bisection Adrian McMenamin
2009-03-21 23:39 ` Adrian McMenamin
2009-03-22 11:01 ` Paul Mundt
2009-03-22 11:13 ` Paul Mundt
2009-03-22 11:49 ` Adrian McMenamin
2009-03-22 13:49 ` Adrian McMenamin
2009-03-22 15:43 ` Paul Mundt
2009-03-22 18:30 ` Adrian McMenamin
2009-03-23  1:18 ` Paul Mundt [this message]
2009-03-23  3:49 ` Magnus Damm
2009-03-26  0:01 ` Adrian McMenamin

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=20090323011827.GA18310@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@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