Messages in this thread | | | Date | Mon, 14 Nov 2005 17:14:39 -0500 | From | Giridhar Pemmasani <> | Subject | Re: [2.6 patch] i386: always use 4k stacks |
| |
On Mon, 14 Nov 2005 22:33:57 +0000, Alan Cox <alan@lxorguk.ukuu.org.uk> said:
Alan> Switch stack before calling the Windows bits. If we take an IRQ then Alan> the kernel will itself switch to its own IRQ stack for the IRQ Alan> handling. I don't think there is much more required.
Shouldn't I have to prevent scheduler from changing the tasks when executing Windows code? Otherwise, kernel gets wrong current thread information, which is based on stack pointer. This is the stumbling block for implementing private stacks.
Thanks, Giri - 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/
| |