[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1512081945440.3595@nanos>
Date: Tue, 8 Dec 2015 19:45:57 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Dave Hansen <dave@...1.net>
cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org, x86@...nel.org,
dave.hansen@...ux.intel.com
Subject: Re: [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@...utronix.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists