Re: Question regarding sys_sched_yield function in Kernel 2.6

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

 



Hello Thomas...

>  In case, that process was the only process in its priority list, it
> will get scheduled again when schedule is called. Is this correct? If
> it is correct, then even though the real time process wants to give
> up the CPU, it is not able to do so.

yes, you are correct. That's why in reality, real time process 
(SCHED_FIFO and SCHED_RR) can not be preempted by normal process.

The only case the above conclusion doesnt work is when new process with 
higher (i mean lower number of static prio) exist.

regards

Mulyadi


--
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