question about returning of a child process

From: Tomko
Date: Thu Apr 14 2005 - 22:19:52 EST


Hi all,

What is the first code the new born child process run after it is forked by the system call and being schduled into the CPU to run ? what i concerned is , kernel will schdule once when leaving the system call for returning father process, will kernel schdule once again when leaving the systemcall for child process if the child process return code is inside the kernel space?

Hope someone can answer me.

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