| From | Andy Lutomirski <> | Date | Fri, 13 Jul 2018 16:21:45 -0700 | Subject | Re: [PATCH 30/39] x86/mm/pti: Clone entry-text again in pti_finalize() |
| |
On Wed, Jul 11, 2018 at 4:29 AM, Joerg Roedel <joro@8bytes.org> wrote: > From: Joerg Roedel <jroedel@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?
|