Re: Initialization of task_t

From: William Lee Irwin III
Date: Tue Jun 22 2004 - 12:08:16 EST


On Tue, Jun 22, 2004 at 12:15:55PM -0300, Andre Marcos Dias Campos wrote:
> I would like to know where in the kernel code the task_t struct of each
> process is initialized.
> Regards
> Andre Dias

You're looking for dup_task_struct(), which copies the child's from the
parent's, and static initialization of the first process with INIT_TASK,
defined in include/linux/init_task.h.


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