In SMP system, is there any api to disable IRQ for all CPUs?

loody miloody at gmail.com
Thu Oct 1 11:49:48 EDT 2015


hi all:
is there any kernel API can let IRQ disable for all CPU in SMP system
for a while?
I just need it for a experiment on my module.

such as:
xxxx      --> disable SMP all cpu IRQ
  OOO   ---> no interrupt happen
  OOO   ---> no interrupt happen
zzzz      ---> enable SMP all cou IRQ

Appreciate your kind help in advance,



More information about the Kernelnewbies mailing list