Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
マルチプロセッサシステムでは、複数のプロセッサで割り込みを処理できる可能性が非常に高くなります。私の割り込みハンドラが Linux カーネルで実行されている場所 (つまり、どの CPU で) を確認する方法はありますか?
cat /proc/irq/NNN/smp_affinity割り込みの実行が許可されている CPU を示します。マスク内の CPU の 1 つで実行されます。
cat /proc/irq/NNN/smp_affinity
cat /proc/interrupts割り込み番号ごとに、各 CPU で発生した割り込みの数を示すカウンターを提供します。これにより、割り込みが実際に発生した場所がわかります。
cat /proc/interrupts