linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Jun Hu" <duanshuidao@hotmail.com>
To: linux-mm <linux-mm@kvack.org>
Subject: [help] kernel boot parameter "mem=xx"  disparity
Date: Wed, 17 Oct 2012 08:55:14 +0800	[thread overview]
Message-ID: <COL115-DS17FCFB8683288781F8E011BC770@phx.gbl> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 848 bytes --]

Hi Guys:

My machine has 8G memory, when I use kernel boot parameter mem=5G , it only display ¡°4084 M¡± using ¡°free ¨Cm ¡°. 
where the ¡°5120-4084 = 1036M ¡° memory run?

# /bin/uname -a
Linux dom0-93 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b) x86_64 x86_64 x86_64 GNU/Linux

dom0-93:~ # free -m
total used free shared buffers cached
Mem: 4084 259 3824 0 6 84
-/+ buffers/cache: 169 3915
Swap: 1916 0 1916
dom0-93:~ # cat /proc/cmdline 
root=/dev/disk/by-id/cciss-3600508b100104839535656314933001b-part1 resume=/dev/disk/by-id/cciss-3600508b100104839535656314933001b-part2 splash=silent crashkernel=256M-:128M vga=0x317 mem=5120M


when I didn't append "mem=" parmeter, "free -m " shows that total memory is  7892M ,
it only eat up  300M (8192-7892), though I don't know where the 300M memory go.

why? 

[-- Attachment #2: Type: text/html, Size: 1547 bytes --]

             reply	other threads:[~2012-10-17  0:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-17  0:55 Jun Hu [this message]
2012-10-17  1:43 ` KOSAKI Motohiro
2012-10-17  3:18   ` Jun Hu

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=COL115-DS17FCFB8683288781F8E011BC770@phx.gbl \
    --to=duanshuidao@hotmail.com \
    --cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox