[PATCH 11/23] x86, kaiser: map GDT into user page tables

2017-10-31 Thread Dave Hansen
The GDT is used to control the x86 segmentation mechanism. It must be virtually mapped when switching segments or at IRET time when switching between userspace and kernel. The original KAISER patch did not do this. I have no ide how it ever worked. Signed-off-by: Dave Hansen

[PATCH 11/23] x86, kaiser: map GDT into user page tables

2017-10-31 Thread Dave Hansen
The GDT is used to control the x86 segmentation mechanism. It must be virtually mapped when switching segments or at IRET time when switching between userspace and kernel. The original KAISER patch did not do this. I have no ide how it ever worked. Signed-off-by: Dave Hansen Cc: Moritz Lipp