lkml.org 
[lkml]   [2018]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [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?
    \
     
     \ /
      Last update: 2018-07-15 22:07    [W:3.742 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site