Re: Premptive vs non-premptive kernel.

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

 




also, is need_sched is repalced by TIF_NEED_RESCHED flag?


The TIF_NEED_RESCHED does not replace anything. It's an assembly
variant.

Hello guys.

To the point, what does TIF_NEED_RESCHED mean? Particularly, I'm interesting what does cond_resched() call do.

Simplifying, cond_resched is:

if (task has TIF_NEED_RESCHED flag on)
schedule()

Thanks in advance.
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

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