Software/Embedded system

Priority Inversion (feat. Embeded system)

neovaga 2021. 5. 23. 15:11

 Priority inversion is an operating system scenario in which a higher priority task is preempted by a lower priority task.

Problem: Higher priority task is blocked by a lower priority one. 

Solutions: 

1. Priority inheritance protocol: When a task blocks one or more higher-priority tasks it temporarily inherits the highest priority of the blocked tasks. 

- PIP does not prevent deadlock. It also cannot prevent other problems induced by semaphores(recall flawed semaphore implementation.)

2. Priority Ceiling

- PCP, temporary changing the priority. 

 

 

Priority Inversion
Solution: Priority Inheritance
Priority inversion
Solution

 

반응형

'Software > Embedded system' 카테고리의 다른 글

exec() System call concept  (0) 2021.06.27
fork() system call concept  (0) 2021.06.27
Memory - stack and heap  (0) 2021.05.26
Threads Concept  (0) 2021.05.23
The Keyword (feat. static, volatile)  (0) 2021.05.20