[RFC][PATCH 12/24] x86/pti: Function to map per-cpu page-table entry

2020-11-09 Thread Alexandre Chartre
Wrap the code used by PTI to map a per-cpu page-table entry into a new function so that this code can be re-used to map other per-cpu entries. Signed-off-by: Alexandre Chartre --- arch/x86/mm/pti.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/arc

[RFC][PATCH 12/24] x86/pti: Function to map per-cpu page-table entry

2020-11-09 Thread Alexandre Chartre
Wrap the code used by PTI to map a per-cpu page-table entry into a new function so that this code can be re-used to map other per-cpu entries. Signed-off-by: Alexandre Chartre --- arch/x86/mm/pti.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/arc