switch_to comment update

Andrea Arcangeli (andrea@suse.de)
Tue, 17 Aug 1999 02:36:28 +0200 (CEST)


This comment should be updated:

--- 2.3.13/arch/i386/kernel/process.c Thu Aug 12 02:53:17 1999
+++ /tmp/process.c Tue Aug 17 02:32:26 1999
@@ -686,7 +686,8 @@
unlazy_fpu(prev_p);

/*
- * Reload esp0, LDT and the page table pointer:
+ * Reload only esp0 (LDT and the page table pointer will be realoaded
+ * on demand via activate_mm() if we'll need to run out of the kernel):
*/
tss->esp0 = next->esp0;

BTW, which is the reason we continue to reload the stack pointer address
in the TS structure? To let know the kernel which stack pointer to use
while entering the kernel, right?

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/