Re: [PATCH 04/24] x86/mm/kaiser: Unmap kernel mappings from userspace page tables, core patch

From: Borislav Petkov
Date: Mon Nov 27 2017 - 12:04:55 EST


On Mon, Nov 27, 2017 at 04:39:07PM +0100, Peter Zijlstra wrote:
>
> So I had the problem that I could not tell if my shiny new kernel had
> this brand spanking awesome feature enabled or not.
>
> Do we want something like so?
>
> ---
> arch/x86/mm/kaiser.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/x86/mm/kaiser.c b/arch/x86/mm/kaiser.c
> index 0ff502fa655b..655349e0b5fb 100644
> --- a/arch/x86/mm/kaiser.c
> +++ b/arch/x86/mm/kaiser.c
> @@ -425,6 +425,8 @@ void __init kaiser_init(void)
> if (!kaiser_enabled)
> return;
>
> + pr_info("All your KAISER are belong to us.\n");
> +
> kaiser_init_all_pgds();
>
> for_each_possible_cpu(cpu) {

Acked-by: Borislav Petkov <bp@xxxxxxx>

And yes, the whimsical formulation is a nice touch among all those
serious dmesg spews.

:-)

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.