From: "Jun Hu" <duanshuidao@hotmail.com>
To: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Cc: linux-mm <linux-mm@kvack.org>
Subject: Re: [help] kernel boot parameter "mem=xx" disparity
Date: Wed, 17 Oct 2012 11:18:42 +0800 [thread overview]
Message-ID: <COL115-DS10E0F88BEBFBB5F189B1D6BC770@phx.gbl> (raw)
In-Reply-To: <CAHGf_=p__OFKsP=qf+RP28gZntYAwzq-gNnQ61UR_kJuFL7OSw@mail.gmail.com>
Yes, I understand now, through google "memory hole" ; thanks a lot.
recent regular machine often have ~1G hole. It is true.
I found from boot msg:
55:<6>[ 0.000000] Memory: 4171008k/5242880k available (4404k kernel code,
788584k absent, 283288k reserved, 7685k data, 1340k init)
it tells me where 1G memory went .
-----a??a??e?(R)a>>?-----
From: KOSAKI Motohiro
Sent: Wednesday, October 17, 2012 9:43 AM
To: Jun Hu
Cc: linux-mm
Subject: Re: [help] kernel boot parameter "mem=xx" disparity
On Tue, Oct 16, 2012 at 8:55 PM, Jun Hu <duanshuidao@hotmail.com> wrote:
> Hi Guys:
>
> My machine has 8G memory, when I use kernel boot parameter mem=5G , it
> only
> display a??4084 Ma?? using a??free a??m a??.
> where the a??5120-4084 = 1036M a?? memory run?
mem is misleading parameter. It is not specify amount memoy. It is specify
maximum recognized address. Thus when your machine have some memory
hole, you see such result. Don't worry, recent regular machine often have
~1G hole.
Detailed memory map is logged in /var/log/messages as a part of boot
messages.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=ilto:"dont@kvack.org"> email@kvack.org </a>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2012-10-17 3:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-17 0:55 Jun Hu
2012-10-17 1:43 ` KOSAKI Motohiro
2012-10-17 3:18 ` Jun Hu [this message]
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-DS10E0F88BEBFBB5F189B1D6BC770@phx.gbl \
--to=duanshuidao@hotmail.com \
--cc=kosaki.motohiro@gmail.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