I am working on CPU-IDLE in Linux. I have the question who spawns idle tasks per CPU core i.e. if there are 4 arm CPU cores, who spawns the per CPU idle task? Where the code for the same is located for creating idle tasks? I understand that start_kernel in init/main.c is run by init process.
Can someone please point out the location of the code where the idle tasks are created per CPU core for CPU idle?
Regards, Snu