Re: [GIT pull] irq fixes for 4.8

From: Linus Torvalds
Date: Sun Sep 18 2016 - 14:15:34 EST

On Sun, Sep 18, 2016 at 1:05 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> Boris Brezillon (2):
> genirq: Provide irq_gc_{lock_irqsave,unlock_irqrestore}() helpers

This seems somewhat questionable.

The non-irqsafe versions of these functions have specialized non-SMP
versions for them. The new ones don't.

I pulled it, because I think it's actually the old versions that are
garbage (the locking should become a no-op on UP regardless - except
for the preemption issue which I don't see why it wouldn't be real),
but I think this is inconsistent and should be fixed (or a comment
added about why it is ok).