[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111216115500.GD2547@sgi.com>
Date: Fri, 16 Dec 2011 05:55:00 -0600
From: Robin Holt <holt@....com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Robin Holt <holt@....com>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] sgi-xp: nested calls to spin_lock_irqsave()
On Thu, Dec 15, 2011 at 09:48:05AM +0300, Dan Carpenter wrote:
> The code here has a nested spin_lock_irqsave(). It's not needed since
> IRQs are already disabled and it causes a problem because it means that
> IRQs won't be enabled again at the end. The second call to
> spin_lock_irqsave() will overwrite the value of irq_flags and we can't
> restore the proper settings.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Acked-by: Robin Holt <holt@....com>
--
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