No I simply did several malloc(s) without writing to the allocated space. This means that the pages are not allocated really?
-----Original Message----- From: Scott Wood [mailto:[EMAIL PROTECTED] Sent: Fri 18/01/2008 16.58 To: DI BACCO ANTONIO - technolabs Cc: [email protected] Subject: Re: A file of 5 MB on tmpfs file system uses 5 MB of RAM or more? On Fri, Jan 18, 2008 at 02:15:02PM +0100, DI BACCO ANTONIO - technolabs wrote: > I have a linux-2.6.19.2 board with an MPC880 with 16MB ram and 16 MB > flash. > Normally I have 9-10 MB of free RAM. > > If I allocate 5 MB of ram memory, the system continues to work normally, Are you sure the RAM was actually allocated (i.e. did you write to all of the pages)? -Scott
_______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
