Re: i386 kernel_thread() questions

Ralf Baechle (ralf@uni-koblenz.de)
Sun, 7 Nov 1999 19:19:07 +0100


On Fri, Nov 05, 1999 at 04:28:34PM +0100, lars brinkhoff wrote:

> 1. Why isn't ecx set to a stack pointer before the clone system call?

The cloned thread will only ever run on it's kernel stack, that is the
value passed in ecx wouldn't make a difference.

> 2. Why isn't ebx set to a status code before the exit system call?

Because nobody cares about the status code.

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/