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/