Re: [PATCH 0/3] x86/pti: Call pti_init() after mark_readonly()

From: Joerg Roedel
Date: Tue Jul 10 2018 - 09:20:07 EST


Hey Thomas,

On Tue, Jul 03, 2018 at 01:52:23PM +0200, Joerg Roedel wrote:
> Joerg Roedel (3):
> x86/pti: Move pti_init() code out of __init
> x86/mm/pti: Call pti_init() after mark_readonly()
> x86/pti: Call pti_clone_kernel_text() from pti_init()

Please ignore this patch-set. It turned out that some code in the kernel
executes user-space even before /init is started. I just ran into a
problem where request_module calls usermode-helper and then
triple-faults when it tries to go to user-space and finds the
user-pagetable still empty.

I need to look into another solution for this then.


Thanks,

Joerg