Re: [PATCH 11/14] MIPS: memblock: Print out kernel virtual mem layout

From: Florian Fainelli
Date: Thu Jan 18 2018 - 15:03:14 EST


On 01/17/2018 02:23 PM, Serge Semin wrote:
> It is useful to have the kernel virtual memory layout printed
> at boot time so to have the full information about the booted
> kernel. In some cases it might be unsafe to have virtual
> addresses freely visible in logs, so the %pK format is used if
> one want to hide them.
>
> Signed-off-by: Serge Semin <fancer.lancer@xxxxxxxxx>

I personally like having that information because that helps debug and
have a quick reference, but there appears to be a trend to remove this
in the name of security:

https://patchwork.kernel.org/patch/10124007/

maybe hide this behind a configuration option?
--
Florian