Explain Priority Inversion. Priority inversion is the scenario in scheduling where a task holds shared resources which have lower priority for the higher priority resource, which results in high priority task to be blocked until the lower priority task has released the resources. This results in effectively inverting the relative priorities of the two tasks.
In case, some other task with medium priority, which does not depend on the shared resource, attempts for running in the interim, that task take the precedence over both the lower priority task and the high priority task. Priority inversion causes the reduction of perceived performance of the system.
|