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

"Billie Alsup (balsup)" <[email protected]>
Newsgroups org.kernelnewbies.kernelnewbies
Message-ID <BYAPR11MB35277C77490F8BE930581168D98AA@BYAPR11MB3527.namprd11.prod.outlook.com>
>From: Dawei Li <[email protected]>
>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.




_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.