Scheduler - kernel threads - threads - processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

the Linux scheduler has three policies SCHED_FIFO, SCHED_RR and SCHED_OTHER.
SCHED_FIFO and SCHED_RR are for realtime requirements.
The kernel is not preemptive. That means that a process running in kernel mode can not
be preempted.

There are also kernel threads, like [kswapd].  Does a kernel thread have a priority?
How does the scheduler schedule kernel threads?

On the other hand a process can also have several threads.
How does the scheduler schedule these threads in contrast to kernel threads or processes?

Thanx!

Rainer
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux