I'm a research student whose work involves processes, and I had a question about Linux's task list.

From what I understand, as long as the computer has booted up, it is accepting processes. The processes it accepts can be created from anywhere. How does it do this? I'm having trouble imagining how it manages to be all accepting and ever running in Linux.

I'm still new to Linux, so I apologize if I'm being ignorant. Thank you in advance!


The first process linux creates is the swapper process that creates init process that(after some other work it does) start a login process to a specific terminal.from there other processes gets created via former processes that issues fork() like system calls(fork,clone,vfork...).

in addition the linux kernel itself have few threads that called kernel threads they are created by the kernel itself and(obviously) their task_structs also reside in the task list

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.