lkml.org 
[lkml]   [2015]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 29/34] x86: separate out LDT init from context init
    On Thu, 3 Dec 2015, Dave Hansen wrote:
    > The arch-specific mm_context_t is a great place to put
    > protection-key allocation state.
    >
    > But, we need to initialize the allocation state because pkey 0 is
    > always "allocated". All of the runtime initialization of
    > mm_context_t is done in *_ldt() manipulation functions. This
    > renames the existing LDT functions like this:
    >
    > init_new_context() -> init_new_context_ldt()
    > destroy_context() -> destroy_context_ldt()
    >
    > and makes init_new_context() and destroy_context() available for
    > generic use.

    Reviewed-by: Thomas Gleixner <tglx@linutronix.de>


    \
     
     \ /
      Last update: 2015-12-08 20:21    [W:8.369 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site