What is the purpose of TIF_NEED_RESCHED
in a Linux scheduler (say CFS)? In case of writing a new scheduling class, can this flag be used? If yes, where and how can this flag be used for a new scheduling class?
TIF_NEED_RESCHED
is one of the thread information flags. It tells that the schedule
needs to be called while interrupt and userspace return paths. See the __schedule
function description here...