mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wappler Marcel <Marcel.Wappler@bridgeco.net>
To: Arjan van de Ven <arjan@infradead.org>, Ingo Oeser <ioe-lkml@rameria.de>
Cc: Alex Riesen <raa.lkml@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: Behaviour of the VM on a embedded linux
Date: Mon, 25 Aug 2008 09:58:12 +0200	[thread overview]
Message-ID: <462ADBE7F1A69C438B7E2ED56007E6F5ABF7DF982F@exch10.BC-Int.NET> (raw)
In-Reply-To: <20080824165522.16216011@infradead.org>

Arjan van de Ven wrote:
> On Mon, 25 Aug 2008 01:35:49 +0200
> Ingo Oeser <ioe-lkml@rameria.de> wrote:
>
>> Is the application linked statically? If not, code pages might be
>> mapped privately and have been written to due to relocation.
>>
>> Link everything statically to avoid this.
>
> ... static linking has severe downsides though. You can also just use
> prelink to avoid relocations in practice.

Hm. I did a
cat /proc/`pidof thebigbinary`/smaps | grep Dirty
and got only about 3 MByte of dirty data. So it looks like this is not the (whole) problem (just a part). The Rss part of the /proc/pid/smaps report counts to about 14 MBytes. What is this saying exactly? I thought, those are the pages which aren't stealed by the VM from the app. Am I right?

Marcel

      reply	other threads:[~2008-08-25  7:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-22 12:31 Wappler Marcel
2008-08-22 12:59 ` Alex Riesen
2008-08-22 15:25   ` Wappler Marcel
2008-08-22 21:37     ` Christopher Snook
2008-08-24 23:35     ` Ingo Oeser
2008-08-24 23:55       ` Arjan van de Ven
2008-08-25  7:58         ` Wappler Marcel [this message]

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=462ADBE7F1A69C438B7E2ED56007E6F5ABF7DF982F@exch10.BC-Int.NET \
    --to=marcel.wappler@bridgeco.net \
    --cc=arjan@infradead.org \
    --cc=ioe-lkml@rameria.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=raa.lkml@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

all inboxes | Powered by JetHome®