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/