Re: [PATCH] __set_page_dirty uses spin_lock_irqsave instead of spin_lock_irq

From: KOSAKI Motohiro
Date: Tue Feb 04 2014 - 12:02:58 EST


On Tue, Feb 4, 2014 at 11:58 AM, <kosaki.motohiro@xxxxxxxxx> wrote:
> From: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
>
> To use spin_{un}lock_irq is dangerous if caller disabled interrupt.
> spin_lock_irqsave is a safer alternative. Luckily, now there is no
> caller that has such usage but it would be nice to fix.
>
> Reported-by: David Rientjes rientjes@xxxxxxxxxx>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>

Self Nack this. There IS a caller and we should send this to stable.
I'll respin.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/