From: zoucao-ipc <zoucao@linux.alibaba.com>
To: tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] free e820 reserved memory in bootargs memmap
Date: Tue, 10 Apr 2018 10:32:03 +0800 [thread overview]
Message-ID: <5ACC2223.3090907@linux.alibaba.com> (raw)
In-Reply-To: <20180408064134.77385-1-zoucao@linux.alibaba.com>
I found commit characters errors, please ignore this path, V2 will be
sent soon
On 2018/4/8 下午2:41, zoucao@linux.alibaba.com wrote:
> add a new chareater "-" in bootargs memmap, you can use this chareater to free
> e820 reserved memory, for example:
>
> reserved iomem:
> cat /proc/iomem:
> ......
> 00100000-6aefefff : System RAM
> 01000000-0165537a : Kernel code
> 0165537b-01a8873f : Kernel data
> 01c31000-01f4efff : Kernel bss
> 28000000-320fffff : Crash kernel
> 6aeff000-6effffff : reserved --> it is e820 reserved memory
> 6f000000-78240fff : System RAM
> ......
>
>
> add bootargs memmap=0x4101000-0x6aeff000, to free memory region: 6aeff000-6effffff
> then 6aeff000-6effffff will be merged into 00100000-78240fff.
>
> new iomem:
> cat /proc/iomem:
> ......
> 00100000-78240fff : System RAM
> 01000000-0165537a : Kernel code
> 0165537b-01a8873f : Kernel data
> 01c31000-01f4efff : Kernel bss
> ......
prev parent reply other threads:[~2018-04-10 2:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-08 6:41 [PATCH] free e820 reserved memory in bootargs memmap zoucao
2018-04-08 6:41 ` [PATCH] x86/boot/e820: add new chareater "-" to free BIOS memory in memmap bootargs zoucao
2018-04-10 2:32 ` zoucao-ipc [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=5ACC2223.3090907@linux.alibaba.com \
--to=zoucao@linux.alibaba.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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