Skip to contentSkip to conversation

"init_task" belongs to "swapper" or "init" ?

DISCUSSION Shivdas Gujare 2 participants 2 messages Jan 4, 2010

lore
Share & tools
lore
#0 lore raw

Hi all,

I am trying to understand the role of linux kernel "process 0" i.e. swapper. I am not able to understand, where it gets started? and Does "init_task" from arch/arm/kernel/init_task.c belongs to "swapper" or "init"? whats the purpose of "init_task"?

Thanks for your help.

Thanks and Regards,
Shivdas Gujare

#1 lore raw
Quoted 6 lines · Shivdas Gujare

Hi all,

I am trying to understand the role of linux kernel "process 0" i.e. swapper. I am not able to understand, where it gets started? and Does "init_task" from arch/arm/kernel/init_task.c belongs to "swapper" or "init"? whats the purpose of "init_task"?

swapper. It's what gets run when there's nothing else to run.