lkml.org 
[lkml]   [2018]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH RFC 3/4] x86/pti: don't mark the user PGD with _PAGE_NX.
    From
    Date
    On 01/08/2018 09:17 AM, Willy Tarreau wrote:
    >> I think the prctl() should apply to an entire process, not to a thread.
    >
    > As I mentionned in another mail, I didn't know how to do it, even less
    > how to do it fast enough so that we didn't add more cycles to the syscall
    > code.

    You can _implement_ it with a task thread if you want. Just spray it
    across all threads at the prctl()-time instead of a single thread.
    It'll take a wee bit of locking.

    I just don't think the API should apply to a single thread.

    \
     
     \ /
      Last update: 2018-01-14 23:17    [W:4.242 / U:0.692 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site