SYNCHRONIZE_HARDIRQ(9) - phpMan
SYNCHRONIZE_HARDIRQ(9) Public Functions Provided SYNCHRONIZE_HARDIRQ(9)
NAME
synchronize_hardirq - wait for pending hard IRQ handlers (on other CPUs)
SYNOPSIS
bool synchronize_hardirq(unsigned int irq);
ARGUMENTS
irq
interrupt number to wait for
DESCRIPTION
This function waits for any pending hard IRQ handlers for this interrupt to complete
before returning. If you use this function while holding a resource the IRQ handler may
need you will deadlock. It does not take associated threaded handlers into account.
Do not use this for shutdown scenarios where you must be sure that all parts (hardirq and
threaded handler) have completed.
RETURN
false if a threaded handler is active.
This function may be called - with care - from IRQ context.
AUTHORS
Thomas Gleixner <tglx AT linutronix.de>
Author.
Ingo Molnar <mingo AT elte.hu>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 SYNCHRONIZE_HARDIRQ(9)
|