Skip to contentSkip to conversation

init process and task_struct

DISCUSSION Josef E. Galea 2 participants 2 messages Feb 25, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

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

Thanks
Josef

#1 lore raw
Quoted 2 lines · Josef E. Galea

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