lkml.org 
[lkml]   [2017]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 04/24] x86/mm/kaiser: Unmap kernel mappings from userspace page tables, core patch

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) {
\
 
 \ /
  Last update: 2017-11-27 16:39    [W:0.259 / U:1.200 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site