linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Woithe <jwoithe@atrad.com.au>
To: Raymond Jennings <shentino@gmail.com>
Cc: Hillf Danton <dhillf@gmail.com>,
	David Rientjes <rientjes@google.com>,
	Linux-MM <linux-mm@kvack.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Jonathan Woithe <jwoithe@atrad.com.au>
Subject: Re: OOM triggered with plenty of memory free
Date: Wed, 20 Mar 2013 16:17:53 +1030	[thread overview]
Message-ID: <20130320054753.GN12411@marvin.atrad.com.au> (raw)
In-Reply-To: <CAGDaZ_ryxdMBm44kotjKyCeFEFk3OURjHav3zVOcQNGwP_ZwAQ@mail.gmail.com>

On Sat, Mar 16, 2013 at 02:33:23AM -0700, Raymond Jennings wrote:
> On Sat, Mar 16, 2013 at 2:25 AM, Hillf Danton <dhillf@gmail.com> wrote:
> >> Some system specifications:
> >> - CPU: i7 860 at 2.8 GHz
> >> - Mainboard: Advantech AIMB-780
> >> - RAM: 4 GB
> >> - Kernel: 2.6.35.11 SMP, 32 bit (kernel.org kernel, no patches applied)
> 
> > The highmem no longer holds memory with 64-bit kernel.
> 
> I don't really think that's a valid reason to dismiss problems with
> 32-bit though, as I still use it myself.
> 
> Anyway, to the parent poster, could you tell us more, such as how much
> ram you had left free?

Following up on my previous response, I have now done a git bisect and it
seems the leak was introduced by commit
cab9e9848b9a8283b0504a2d7c435a9f5ba026de.  This was applied in the leadup to
2.6.35.11, so 2.6.35.10 and earlier were all free of the problem.  As far as
I can tell, 2.6.36 and later are also unaffected.  I don't know whether this
is because the offending code in mainline is different to that applied to
2.6.35.x, or that due to other changes we're just not hitting the problem in
later kernels.

I should add that the above commit forms part of a series which appears to
have been applied out of order; to get it to compile it was necessary to
apply afa01a2cc021a5f03f02364bb867af3114395304 due to cab9...26de using a
function which was only added in afa0...5304.  As a result, while I think
the root cause is cab9...26de I may have misinterpreted things such that
one of the other patches in the series is the trigger.

I'll continue testing to try to identify which commit fixed the problem and
to confirm that 2.6.36 was indeed free of the leak.

Regards
  jonathan

--
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>

  parent reply	other threads:[~2013-03-20  5:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-16  9:25 Hillf Danton
2013-03-16  9:33 ` Raymond Jennings
2013-03-16 11:02   ` Jonathan Woithe
2013-03-20  5:47   ` Jonathan Woithe [this message]
2013-03-21  7:07   ` Jonathan Woithe
2013-03-25  2:24     ` Jonathan Woithe
  -- strict thread matches above, loose matches on Subject: below --
2013-02-13  3:10 Jonathan Woithe
2013-02-13  3:30 ` David Rientjes
2013-02-13  4:25   ` Jonathan Woithe
2013-02-13 15:14     ` Dave Hansen
2013-02-13 22:49       ` Jonathan Woithe
2013-02-21  6:01       ` Jonathan Woithe
2013-02-26  6:39       ` Jonathan Woithe
2013-02-26 15:26         ` Dave Hansen
2013-02-26 20:54           ` Eric W. Biederman
2013-03-04  5:25             ` Jonathan Woithe
2013-02-20  5:50   ` Simon Jeons
2013-02-20  7:05     ` David Rientjes

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=20130320054753.GN12411@marvin.atrad.com.au \
    --to=jwoithe@atrad.com.au \
    --cc=dhillf@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=rientjes@google.com \
    --cc=shentino@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox