Re: [patch 1/2] genirq: Provide synchronize_hardirq()

2014-02-15 Thread Peter Zijlstra
On Sat, Feb 15, 2014 at 12:55:18AM -, Thomas Gleixner wrote: > synchronize_irq() waits for hard irq and threaded handlers to complete > before returning. For some special cases we only need to make sure > that the hard interrupt part of the irq line is not in progress when > we disabled the -

Re: [patch 1/2] genirq: Provide synchronize_hardirq()

2014-02-15 Thread Peter Zijlstra
On Sat, Feb 15, 2014 at 12:55:18AM -, Thomas Gleixner wrote: synchronize_irq() waits for hard irq and threaded handlers to complete before returning. For some special cases we only need to make sure that the hard interrupt part of the irq line is not in progress when we disabled the -

[patch 1/2] genirq: Provide synchronize_hardirq()

2014-02-14 Thread Thomas Gleixner
synchronize_irq() waits for hard irq and threaded handlers to complete before returning. For some special cases we only need to make sure that the hard interrupt part of the irq line is not in progress when we disabled the - possibly shared - interrupt at the device level. A proper use case for

[patch 1/2] genirq: Provide synchronize_hardirq()

2014-02-14 Thread Thomas Gleixner
synchronize_irq() waits for hard irq and threaded handlers to complete before returning. For some special cases we only need to make sure that the hard interrupt part of the irq line is not in progress when we disabled the - possibly shared - interrupt at the device level. A proper use case for