最終更新:2014-06-06 (金) 03:18:50 (3605d)  

IRQF_DISABLED
Top / IRQF_DISABLED

Disable local interrupts while processing (used to indicate a fast handler)

概要

  • keep irqs disabled when calling the action handler.

DEPRECATED (Linux 2.6.36〜)

  • This flag is a NOOP and scheduled to be removed.
  • IRQF_DISABLED is kept as a define and scheduled for feature removal.

メモ

  • 割り込みハンドラの実行中、「全ての」割り込みを禁止する(高速なハンドラ用) 。
  • このフラグがセットされていなければ、自分自身だけ禁止され、 他の割り込みは許可された状態で動作する。(低速なハンドラ用)
  • 割り込みハンドラは、自分と同じレベルの割り込み、または、最悪の場合 は、IRQF_DISABLED の場合は、全割り込みを禁止して動く。その間、デバイス とOSカーネルの通信が途絶するので、割り込みハンドラは、できるだけ速く実 行する必要がある。

参考