From: Jeff Angielski <jangiels@speakeasy.net>
To: "Smith, Craig" <Craig.Smith@icn.siemens.com>
Cc: LinuxPPC <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Dynamic lib loading & memory question
Date: 24 Jun 2004 19:28:44 -0400 [thread overview]
Message-ID: <1088119724.4208.3.camel@localhost.localdomain> (raw)
In-Reply-To: <EA78B62757AF1E4799828249310AC4CA04E09F03@stca206a.bus.sc.rolm.com>
On Thu, 2004-06-24 at 17:58, Smith, Craig wrote:
> Memory: 14112k available (1564k kernel code, 436k data, 68k init, 0k
> highmem)
<snip>
> ########################################
> root@raptorlinux->~ [2] cat /proc/meminfo
> total: used: free: shared: buffers: cached:
> Mem: 14520320 4505600 10014720 0 0 2531328
> Swap: 0 0 0
> MemTotal: 14180 kB
> MemFree: 9780 kB
> MemShared: 0 kB
> Buffers: 0 kB
> Cached: 2472 kB
> SwapCached: 0 kB
> Active: 1088 kB
> Inactive: 1792 kB
> HighTotal: 0 kB
> HighFree: 0 kB
> LowTotal: 14180 kB
> LowFree: 9780 kB
> SwapTotal: 0 kB
> SwapFree: 0 kB
>
> Question: Why the total (and "available" value at startup) indicates
> ~14M...why doesn't it say 16M (and what is the ~2.5M "cached" value). Thanks
> again in advance.
The memory line from the boot sequence tells you why total is not 16MB.
The kernel is already using it... :)
You can find the answer to your cached question if you look at the code
from fs/proc/proc_misc.c
Jeff Angielski
The PTR Group
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-06-24 23:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-24 21:58 Dynamic lib loading & memory question Smith, Craig
2004-06-24 22:39 ` Wolfgang Denk
2004-06-24 23:28 ` Jeff Angielski [this message]
2004-06-25 16:44 ` Joakim Tjernlund
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=1088119724.4208.3.camel@localhost.localdomain \
--to=jangiels@speakeasy.net \
--cc=Craig.Smith@icn.siemens.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.