lkml.org 
[lkml]   [2000]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: about /proc/meminfo and mmap
On Sat, 21 Oct 2000, Cefiar wrote:

> At 08:24 PM 20/10/00 -0400, Zhixu Liu wrote:
> >My PC have 128M RAM, but in /proc/meminfo, it display 122424K, not
> >128*1024K = 131072K, what does this mean?
>
> Sounds like something is stealing your ram.
>
> Usual suspects are..

no, things are a lot simpler than that. /proc/meminfo shows the total
amount of usable memory which obviously can't include the amount reserved
by the kernel text and data. Interestingly, it is not quite the same
number as the one shown at boot "Memory: bla/bla...". The one at boot is
nr_free_pages() whilst the one shown in /proc/meminfo is totalram_pages --
they are different.

Regards,
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.065 / U:3.360 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site