Re: kernel_thread bogosity

From: Andrea Arcangeli (andrea@suse.de)
Date: Sun Nov 26 2000 - 11:26:58 EST


On Fri, Nov 24, 2000 at 08:52:47PM +0100, Pavel Machek wrote:
> How can that work? restore_args ends with iret, anyway, and iret does
> reload esp afaics...

... only if there's an IPL change during the iret. Page 3-321 of 24319102.pdf
from Intel:

        [..] If the return is to another privilege level, the IRET instruction
        also pops the stack pointer and SS from the stack, before resuming
        program execution. [..]

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



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:15 EST