Re: [2.6 patch] i386: always use 4k stacks
From: Giridhar Pemmasani (giri_at_lmc.cs.sunysb.edu)
Date: 11/14/05
- Previous message: john stultz: "Re: [PATCH 0/13] Time: Generic Timeofday Subsystem (v B10)"
- In reply to: Alan Cox: "Re: [2.6 patch] i386: always use 4k stacks"
- Next in thread: Paulo Marques: "Re: [2.6 patch] i386: always use 4k stacks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 14 Nov 2005 17:14:39 -0500 To: Alan Cox <alan@lxorguk.ukuu.org.uk>
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/
- Previous message: john stultz: "Re: [PATCH 0/13] Time: Generic Timeofday Subsystem (v B10)"
- In reply to: Alan Cox: "Re: [2.6 patch] i386: always use 4k stacks"
- Next in thread: Paulo Marques: "Re: [2.6 patch] i386: always use 4k stacks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|