lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180408064134.77385-1-zoucao@linux.alibaba.com>
Date:   Sun,  8 Apr 2018 14:41:33 +0800
From:   zoucao@...ux.alibaba.com
To:     tglx@...utronix.de
Cc:     linux-kernel@...r.kernel.org
Subject: [PATCH] free e820 reserved memory in bootargs memmap

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
	......

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ