init process and task_struct
Hi,
Does the init process have a task_struct associated with it, and if yes where is this structure created?
Thanks
Josef
Quoted 2 lines · Josef E. Galea
Does the init process have a
task_structassociated 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