Yes, it's the job of the scheduler