Re: switching from kernel mode to user mode?

From: Ralf Baechle (ralf@uni-koblenz.de)
Date: Sun Feb 13 2000 - 11:04:44 EST


On Wed, Feb 09, 2000 at 03:10:33PM -0800, Jun Sun wrote:

> Can __switch_to() actually go back directly to user mode?

No, switch_to() will return to it's caller the scheduler with the sole
exception which are new born processes. These will start execution at
some architecture specific point which typically is ret_from_fork.

  Ralf

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



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:25 EST