Re: [PATCH 29/34] x86: separate out LDT init from context init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]