when/how is the schedule() function actually called?

Billie Alsup (balsup) balsup at cisco.com
Fri Dec 8 14:10:30 EST 2023


>From: Dawei Li <daweilics at gmail.com>
>When/how is the schedule() function actually called? 

I vaguely recall the actual switch taking place at the end of an interrupt, 
and/or during the return from a syscall, or on explicit request (e.g. yield).
Look at __schedule and context_switch functions.






More information about the Kernelnewbies mailing list