<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7235.2">
<TITLE>RE: A file of 5 MB on tmpfs file system uses 5 MB of RAM or more?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>No I simply did several malloc(s) without writing to the allocated space.<BR>
<BR>
This means that the pages are not allocated really?<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Scott Wood [<A HREF="mailto:scottwood@freescale.com">mailto:scottwood@freescale.com</A>]<BR>
Sent: Fri 18/01/2008 16.58<BR>
To: DI BACCO ANTONIO - technolabs<BR>
Cc: linuxppc-embedded@ozlabs.org<BR>
Subject: Re: A file of 5 MB on tmpfs file system uses 5 MB of RAM or more?<BR>
<BR>
On Fri, Jan 18, 2008 at 02:15:02PM +0100, DI BACCO ANTONIO - technolabs wrote:<BR>
&gt; I have a linux-2.6.19.2 board with an MPC880 with 16MB ram and 16 MB<BR>
&gt; flash.<BR>
&gt; Normally I have 9-10 MB of free RAM.<BR>
&gt;&nbsp;<BR>
&gt; If I allocate 5 MB of ram memory, the system continues to work normally,<BR>
<BR>
Are you sure the RAM was actually allocated (i.e. did you write to all of<BR>
the pages)?<BR>
<BR>
-Scott<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>