The Linux Kernel/Processing

From Wikibooks, open books for an open world
< The Linux Kernel
Jump to: navigation, search

Processing: from process to CPU

Processes and Tasks[edit]

Process is a running user space program. Kernel can start a process with function do_execve. Processes occupy system resources, like memory, CPU time. System calls sys_fork and sys_execve are used to create new processes from user space. The process exit with an sys_exit system call.

How are the process handled within the kernel?

TODO

What are kernel threads?

TODO

How are kernel threads handled ?

TODO

Synchronization[edit]

Time and Timers[edit]

Interrupts[edit]

Bottom Halves[edit]

  • softirq is internal system facility and should not be used directly. Use tasklet.

Historical

IPC[edit]