[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHGf_=qdtQsxE3vYcmUgSre=MiTd7ycYSFCeiTGD2z7b+eE36A@mail.gmail.com>
Date: Tue, 4 Feb 2014 12:02:29 -0500
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: "linux-mm@...ck.org" <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
Subject: Re: [PATCH] __set_page_dirty uses spin_lock_irqsave instead of spin_lock_irq
On Tue, Feb 4, 2014 at 11:58 AM, <kosaki.motohiro@...il.com> wrote:
> From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
>
> 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@...gle.com>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
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@...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