On Wed, Jul 11, 2018 at 4:29 AM, Joerg Roedel <j...@8bytes.org> wrote: > From: Joerg Roedel <jroe...@suse.de> > > The mapping for entry-text might have changed in the kernel > after it was cloned to the user page-table. Clone again > to update the user page-table to bring the mapping in sync > with the kernel again.
Can't we just defer pti_init() until after mark_readonly()? What am I missing?