Messages in this thread | | | From | Wappler Marcel <> | Date | Mon, 25 Aug 2008 09:58:12 +0200 | Subject | RE: Behaviour of the VM on a embedded linux |
| |
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
| |