Linux uses many other kernel threads. Some of them are created in the initialization phase and run until shutdown; others are created "on demand," when the kernel must execute a task that is better performed in its own execution context.
The most important kernel threads (beside process 0 and process 1) are:
Executes the tasks in the qt_context task queue (see Section 4.7.3).
Handles the events related to the Advanced Power Management (APM).
Performs memory reclaiming, as described in Section 16.7.7. kflushd (also bdflush)
Flushes "dirty" buffers to disk to reclaim memory, as described in Section 14.2.4. kupdated
Flushes old "dirty" buffers to disk to reduce risks of filesystem inconsistencies, as described in Section 14.2.4.
Runs the tasklets (see section Section 4.7); there is one kernel thread for each CPU in the system.
I [email protected] RuBoard
Was this article helpful?