Subject: [PATCH v2 2/3] arm64: mm: Show bss segment in kernel memory layout

From: [email-masked] (James Morse)
Date: Mon, 18 Apr 2016 12:14:59 +0100

On 18/04/16 04:09, Kefeng Wang wrote:
> Show the bss segment information as with text and data in Virtual
> memory kernel layout.
> 
> Signed-off-by: Kefeng Wang <[email-masked]>
> ---
>  arch/arm64/mm/init.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c
> index ce2e400..c96fe51 100644
> --- a/arch/arm64/mm/init.c
> +++ b/arch/arm64/mm/init.c
> @@ -379,6 +379,8 @@ void __init mem_init(void)
>  		MLK_ROUNDUP(__init_begin, __init_end));
>  	pr_cont("      .data : 0x%p" " - 0x%p" "   (%6ld KB)\n",
>  		MLK_ROUNDUP(_sdata, _edata));
> +	pr_cont("       .bss : 0x%p" " - 0x%p" "   (%6ld KB)\n",
> +		MLK_ROUNDUP(__bss_start, __bss_stop));
>  #ifdef CONFIG_SPARSEMEM_VMEMMAP
>  	pr_cont("    vmemmap : 0x%16lx - 0x%16lx   (%6ld GB maximum)\n",
>  		MLG(VMEMMAP_START, VMEMMAP_START + VMEMMAP_SIZE));
> 

I think this is useful,

Acked-by: James Morse <[email-masked]>

Thanks,

James