Re: [patch 10/16] x86/ldt: Do not install LDT for kernel threads

From: Andy Lutomirski
Date: Tue Dec 12 2017 - 12:58:19 EST


On Tue, Dec 12, 2017 at 9:32 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> Kernel threads can use the mm of a user process temporarily via use_mm(),
> but there is no point in installing the LDT which is associated to that mm
> for the kernel thread.
>

I like this one.