Linux CFS scheduler

Viewed 20

I recently learning linux kernel CFS scheduling policy. The scheduler will track the process weighted virtual runtime to decide which process run next, basically the minimum virtual runtime process will be picked and execute.

If there is two process A and B, one cpu core, process A started before B, after A run a long time, process B started to run, so A's vtime must much bigger then B. Does this mean process B will run forever until process B's vtime is equal to A's vtime ,only then process A has opportunity to run again?

0 Answers
Related