Книга: Embedded Linux Primer: A Practical, Real-World Approach Spinlock Converted to Mutex Spinlock Converted to Mutex

The real-time patch converts most spinlocks in the system to mutexes. This reduces overall latency at the cost of slightly reduced throughput. The benefit of converting spinlocks to mutexes is that they can be preempted. If Process A is holding a lock, and Process B at a higher priority needs the same lock, Process A can preempt Process B in the case where it is holding a mutex.

Генерация: 0.032. Запросов К БД/Cache: 0 / 0
Вверх Вниз