[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150109224707.GA3026@kroah.com>
Date: Fri, 9 Jan 2015 14:47:07 -0800
From: Greg KH <gregkh@...uxfoundation.org>
To: xiaomin1 <xiaoming.wang@...el.com>
Cc: arnd@...db.de, linux-kernel@...r.kernel.org,
chuansheng.liu@...el.com, Zhang Dongxing <dongxing.zhang@...el.com>
Subject: Re: [PATCH] move file->f_op->open out of mutex (misc_mtx) in
misc_open
On Tue, Jan 06, 2015 at 08:34:07AM +0800, xiaomin1 wrote:
> misc_mtx was used to mutex misc_list.
> But file->f_op->open may be blocked by downloading
> firmware in some devices' open.
> So move file->f_op->open out of mutex (misc_mtx)
> in misc_open to avoid this block.
> It also make code more efficiency.
>
> Signed-off-by: Zhang Dongxing <dongxing.zhang@...el.com>
> Signed-off-by: xiaoming wang <xiaoming.wang@...el.com>
> ---
> drivers/char/misc.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Please fix up your "From:" line to match your signed-off-by line, as I
can't take it the way you sent this.
greg k-h
--
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