Re: [PATCH] fix oops on resume from apm bios initiated suspend

Manfred Spraul (manfred@colorfullife.com)
Thu, 29 May 2003 01:10:04 +0200


Andrew Morton wrote:

>Also, is there any point in doing load_LDT(&current->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/