From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: weili@codeaurora.org
Cc: linux-kernel@vger.kernel.org, vatsa@codeaurora.org
Subject: Re: [PATCH] driver-core: remove lock for platform devices during probe
Date: Mon, 24 Apr 2017 09:46:50 +0100 [thread overview]
Message-ID: <20170424084650.GA14347@kroah.com> (raw)
In-Reply-To: <fb512df8405a4b6643e036af220ccc6c@codeaurora.org>
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
On Mon, Apr 24, 2017 at 04:27:44PM +0800, weili@codeaurora.org wrote:
> Hi Greg,
>
> We are optimizing boot time for Linux kernel and try to make some
> platform drivers use asynchronous probe(by changing probe type of driver to
> PROBE_PREFER_ASYNCHRONOUS) to reduce boot time. However we found the
> platform drivers did not probe in parallel because they will lock the same
> parent device(platform bus for platform drivers) during probe. So we add
> this patch to remove lock of parent for platform device. This will help to
> make platform driver probe in parallel and reduce boot time.
And does it really reduce boot time? What are the numbers? Why do you
have so many platform devices and not "real bus" devices? What does the
boot graph look like when you run with and without this patch? Why is
the platform bus so "special" to warrant this? Should we perhaps make
this an option for any bus to enable/disable?
In other words, you need to provide a whole lot more information here,
justify why you are doing this type of change, and fix the issue I
pointed out, in order to get such a chance accepted.
Come on now, you know better than this...
greg k-h
next prev parent reply other threads:[~2017-04-24 8:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-24 5:42 [PATCH] driver-core: remove lock for platform devices during probe Wei Li
2017-04-24 7:32 ` Greg Kroah-Hartman
2017-04-24 8:27 ` weili
2017-04-24 8:46 ` Greg Kroah-Hartman [this message]
2017-04-25 8:43 ` weili
2017-04-25 11:36 ` Greg Kroah-Hartman
2017-05-02 2:18 ` weili
2017-05-02 18:37 ` Greg Kroah-Hartman
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=20170424084650.GA14347@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vatsa@codeaurora.org \
--cc=weili@codeaurora.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox