Re: init process and task_struct

From: Robert Love
Date: Fri Feb 25 2005 - 17:40:23 EST


On Fri, 2005-02-25 at 23:26 +0100, Josef E. Galea wrote:

> Does the init process have a task_struct associated with it, and if yes
> where is this structure created?

Of course.

Stored directly in init_task, declared in <linux/sched.h>, defined in
arch-specific code (arch/i386/kernel/init_task.c on x86).

Robert Love


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