Thread (2 messages) 2 messages, 2 authors, 2015-10-02

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

From: riel@surriel.com (Rik van Riel)
Date: 2015-10-02 02:01:24

On 10/01/2015 11:49 AM, loody wrote:
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
Look at the code in kernel/stop_machine.c

-- 
All rights reversed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help