[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110907.131217.2301665763990232637.davem@davemloft.net>
Date: Wed, 07 Sep 2011 13:12:17 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: yong.zhang0@...il.com
Cc: linux-kernel@...r.kernel.org, tglx@...utronix.de, mingo@...e.hu,
joe@...ches.com, sparclinux@...r.kernel.org
Subject: Re: [PATCH 20/62] sparc: irq: Remove IRQF_DISABLED
From: Yong Zhang <yong.zhang0@...il.com>
Date: Wed, 7 Sep 2011 16:10:17 +0800
> This flag is a NOOP and can be removed now.
>
> Signed-off-by: Yong Zhang <yong.zhang0@...il.com>
How are things working now, if that is the case?
Specifically in the ldc_bind() case, we're passing iRQF_DISABLED here
so that the IRQ is not turned on when we request the IRQ, we later do
enable_irq() on these after we've take the spinlock in this function.
The IRQ cannot be allowed to be delivered between the request_irq()
call and the enable_irq() calls.
This sequence is necessary to deal with some lock ordering issues.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists