>Also, is there any point in doing load_LDT(¤t->active_mm->context)
>for a kernel thread?
>
>
Yes.
If the next thread switch is to a user space process that uses
kernel_thread->active_mm as user_thread->mm, then switch_to does not
load the ldt. (switch_to, in <asm-i386/mmu_context.h>)
-- Manfred- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/