Re: switch_to comment update

Linus Torvalds (torvalds@transmeta.com)
Mon, 16 Aug 1999 23:43:44 -0700 (PDT)


On Tue, 17 Aug 1999, Andrea Arcangeli wrote:
>
> 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?

Indeed. If we didn't do that, the CPU wouldn't know what value to give esp
on system calls and faults from user mode.

Linus

-
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/