Re: [PATCH 00/23] KAISER: unmap most of the kernel from userspace page tables
From: Randy Dunlap
Date: Wed Nov 01 2017 - 13:58:53 EST
On 11/01/2017 10:31 AM, Dave Hansen wrote:
(from attachment)
diff --git a/arch/x86/mm/kaiser.c b/arch/x86/mm/kaiser.c
index 57f7637..cde9014 100644
--- a/arch/x86/mm/kaiser.c
+++ b/arch/x86/mm/kaiser.c
@@ -49,9 +49,21 @@
static DEFINE_SPINLOCK(shadow_table_allocation_lock);
/*
+ * This is a generic page table walker used only for walking kernel
+ * addresses. We use it too help recreate the "shadow" page tables
to help
+ * which are used while we are in userspace.
+ *
--
~Randy