From: Greg KH <gregkh@linuxfoundation.org>
To: xiaomin1 <xiaoming.wang@intel.com>
Cc: arnd@arndb.de, linux-kernel@vger.kernel.org,
chuansheng.liu@intel.com,
Zhang Dongxing <dongxing.zhang@intel.com>
Subject: Re: [PATCH] move file->f_op->open out of mutex (misc_mtx) in misc_open
Date: Fri, 9 Jan 2015 14:47:07 -0800 [thread overview]
Message-ID: <20150109224707.GA3026@kroah.com> (raw)
In-Reply-To: <1420504447-9670-1-git-send-email-xiaoming.wang@intel.com>
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@intel.com>
> Signed-off-by: xiaoming wang <xiaoming.wang@intel.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
next prev parent reply other threads:[~2015-01-09 22:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-06 0:34 [PATCH] move file->f_op->open out of mutex (misc_mtx) in misc_open xiaomin1
2015-01-05 13:58 ` One Thousand Gnomes
2015-01-09 22:47 ` Greg KH [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-01-05 9:14 Hillf Danton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150109224707.GA3026@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=chuansheng.liu@intel.com \
--cc=dongxing.zhang@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xiaoming.wang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.