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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 7 Apr 2016 15:38:33 +0800
From:	Chen Feng <puck.chen@...ilicon.com>
To:	<catalin.marinas@....com>, <will.deacon@....com>,
	<ard.biesheuvel@...aro.org>, <mark.rutland@....com>,
	<akpm@...ux-foundation.org>, <robin.murphy@....com>,
	<linux-arm-kernel@...ts.infradead.org>,
	<linux-kernel@...r.kernel.org>, <mhocko@...e.com>,
	<kirill.shutemov@...ux.intel.com>, <rientjes@...gle.com>,
	<linux-mm@...ck.org>, <mgorman@...e.de>
CC:	<puck.chen@...mail.com>, <oliver.fu@...ilicon.com>,
	<linuxarm@...wei.com>, <dan.zhao@...ilicon.com>,
	<suzhuangluan@...ilicon.com>, <yudongbin@...licon.com>,
	<albert.lubing@...ilicon.com>, <xuyiping@...ilicon.com>,
	<saberlily.xia@...ilicon.com>
Subject: Re: [PATCH 1/2] arm64: mem-model: add flatmem model for arm64

add Mel Gorman

On 2016/4/5 16:22, Chen Feng wrote:
> We can reduce the memory allocated at mem-map
> by flatmem.
> 
> currently, the default memory-model in arm64 is
> sparse memory. The mem-map array is not freed in
> this scene. If the physical address is too long,
> it will reserved too much memory for the mem-map
> array.
> 
> Signed-off-by: Chen Feng <puck.chen@...ilicon.com>
> Signed-off-by: Fu Jun <oliver.fu@...ilicon.com>
> ---
>  arch/arm64/Kconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index 4f43622..c18930d 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -559,6 +559,9 @@ config ARCH_SPARSEMEM_ENABLE
>  	def_bool y
>  	select SPARSEMEM_VMEMMAP_ENABLE
>  
> +config ARCH_FLATMEM_ENABLE
> +	def_bool y
> +
>  config ARCH_SPARSEMEM_DEFAULT
>  	def_bool ARCH_SPARSEMEM_ENABLE
>  
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ