1SYNCHRONIZE_HARDIRQ(9)     Public Functions Provided    SYNCHRONIZE_HARDIRQ(9)
2
3
4

NAME

6       synchronize_hardirq - wait for pending hard IRQ handlers (on other
7       CPUs)
8

SYNOPSIS

10       bool synchronize_hardirq(unsigned int irq);
11

ARGUMENTS

13       irq
14           interrupt number to wait for
15

DESCRIPTION

17       This function waits for any pending hard IRQ handlers for this
18       interrupt to complete before returning. If you use this function while
19       holding a resource the IRQ handler may need you will deadlock. It does
20       not take associated threaded handlers into account.
21
22       Do not use this for shutdown scenarios where you must be sure that all
23       parts (hardirq and threaded handler) have completed.
24

RETURNS

26       false if a threaded handler is active.
27
28       This function may be called - with care - from IRQ context.
29

AUTHORS

31       Thomas Gleixner <tglx@linutronix.de>
32           Author.
33
34       Ingo Molnar <mingo@elte.hu>
35           Author.
36
38Kernel Hackers Manual 3.10         June 2019            SYNCHRONIZE_HARDIRQ(9)
Impressum