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

17.4.9. Runtime Control of Locking Mode

17.4.9. Runtime Control of Locking Mode

The DEBUG_RT_LOCKING_MODE option enables a runtime control to switch the real-time mutex back into a nonpreemptable mode, effectively changing the behavior of the real-time (spinlocks as mutexes) kernel back to a spinlock-based kernel. As with the other configuration options we have covered here, this tool should be considered a development aid to be used only in a development environment.

It does not make sense to enable all of these debug modes at once. As you might imagine, most of these debug modes add size and significant processing overhead to the kernel. They are meant to be used as development aids and should be disabled for production code.

Оглавление книги


Генерация: 1.115. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз