[PATCH 27/31] x86: separate out LDT init from context init

2016-01-29 Thread Dave Hansen
From: Dave Hansen 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 ren

[PATCH 27/31] x86: separate out LDT init from context init

2016-01-06 Thread Dave Hansen
From: Dave Hansen 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 ren