All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Hugh Dickins <hughd@google.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: v3.4 BUG: Bad rss-counter state
Date: Mon, 9 Apr 2012 20:40:48 +0200	[thread overview]
Message-ID: <20120409184048.GA2478@x4> (raw)
In-Reply-To: <alpine.LSU.2.00.1204091052590.1430@eggly.anvils>

On 2012.04.09 at 11:22 -0700, Hugh Dickins wrote:
> On Mon, 9 Apr 2012, Konstantin Khlebnikov wrote:
> > Markus Trippelsdorf wrote:
> > > On 2012.04.08 at 13:39 +0200, Markus Trippelsdorf wrote:
> > > > I've hit the following warning after I've tried to link Firofox's libxul
> > > > with "-flto -lto-partition=none" on my machine with 8GB memory. I've
> 
> I've no notion of what's unusual in that link.

"-lto-partition=none" disables partitioning and streaming of the link
time optimizer.

> > > > killed the process after it used all the memory and 90% of my swap
> 
> Does doing that link push you well into swap on 3.3?

Yes lto1 uses ~12GB of RAM when called with "-lto-partition=none".

> There's a separate mail thread which implicates
> CONFIG_ANDROID_LOW_MEMORY_KILLER (how appropriately named!) in memory
> leaks on 3.4, so please switch that off if you happened to have it on -
> unless you're keen to reproduce these rss-counter messages for us.

No that option is off.

-- 
Markus

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Hugh Dickins <hughd@google.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: v3.4 BUG: Bad rss-counter state
Date: Mon, 9 Apr 2012 20:40:48 +0200	[thread overview]
Message-ID: <20120409184048.GA2478@x4> (raw)
In-Reply-To: <alpine.LSU.2.00.1204091052590.1430@eggly.anvils>

On 2012.04.09 at 11:22 -0700, Hugh Dickins wrote:
> On Mon, 9 Apr 2012, Konstantin Khlebnikov wrote:
> > Markus Trippelsdorf wrote:
> > > On 2012.04.08 at 13:39 +0200, Markus Trippelsdorf wrote:
> > > > I've hit the following warning after I've tried to link Firofox's libxul
> > > > with "-flto -lto-partition=none" on my machine with 8GB memory. I've
> 
> I've no notion of what's unusual in that link.

"-lto-partition=none" disables partitioning and streaming of the link
time optimizer.

> > > > killed the process after it used all the memory and 90% of my swap
> 
> Does doing that link push you well into swap on 3.3?

Yes lto1 uses ~12GB of RAM when called with "-lto-partition=none".

> There's a separate mail thread which implicates
> CONFIG_ANDROID_LOW_MEMORY_KILLER (how appropriately named!) in memory
> leaks on 3.4, so please switch that off if you happened to have it on -
> unless you're keen to reproduce these rss-counter messages for us.

No that option is off.

-- 
Markus

  reply	other threads:[~2012-04-09 18:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-08 11:39 BUG: Bad rss-counter state Markus Trippelsdorf
2012-04-08 11:39 ` Markus Trippelsdorf
2012-04-09  5:58 ` Markus Trippelsdorf
2012-04-09  5:58   ` Markus Trippelsdorf
2012-04-09 16:41   ` v3.4 " Konstantin Khlebnikov
2012-04-09 16:41     ` Konstantin Khlebnikov
2012-04-09 18:22     ` Hugh Dickins
2012-04-09 18:22       ` Hugh Dickins
2012-04-09 18:40       ` Markus Trippelsdorf [this message]
2012-04-09 18:40         ` Markus Trippelsdorf
2012-04-09 18:43         ` Markus Trippelsdorf
2012-04-09 18:43           ` Markus Trippelsdorf

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=20120409184048.GA2478@x4 \
    --to=markus@trippelsdorf.de \
    --cc=hughd@google.com \
    --cc=khlebnikov@openvz.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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.