← BYTES
Unix IPC·Starter·Ref: 15.1.69
What is priority inversion, described at a basic level?
Have a question about this video? Mention reference 15.1.69 when you contact us.
a.A feature where a program's priority is reversed every time it makes a system call
b.A scheduling bug where a HIGHER-priority thread ends up waiting on a LOWER-priority thread, effectively letting the lower-priority thread's pace determine how long the higher-priority one is delayed
c.A hardware setting that swaps which CPU core runs which process
d.A normal, harmless renaming of threads that occurs automatically
Priority inversion happens when a high-priority thread needs a lock currently held by a lower-priority thread -- the high-priority thread is now effectively stuck waiting on the lower-priority one's schedule, inverting the intended priority ordering; a real, well-known problem covered with its own historical incident in a later question.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES15169#UnixIPC