- 追加された行はこの色です。
- 削除された行はこの色です。
*参照元 [#a28085f0]
#backlinks
*説明 [#w23aa8a1]
-パス: [[linux-2.6.33/lib/Kconfig.debug]]
-FIXME: これは何?
--説明
-スピンロックのデバッグ機能(ロック/アンロックの不整合を検出など)
を有効にする。
--(検出できるバグの例)
--未初期化のスピンロックをロック/アンロック
--ロックしたコンテキスト(ロックのオーナー)と異なるコンテキストでアンロック
--デッドロック
--FIXME: 他にも?
**参考 [#y50404bd]
*実装 [#lae97449]
config DEBUG_SPINLOCK
bool "Spinlock and rw-lock debugging: basic checks"
depends on DEBUG_KERNEL
-
--[[linux-2.6.33/CONFIG_DEBUG_KERNEL]]
help
Say Y here and build SMP to catch missing spinlock initialization
and certain other kinds of spinlock errors commonly made. This is
best used in conjunction with the NMI watchdog so that spinlock
deadlocks are also debuggable.
*コメント [#o85a7074]