public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: zhoumin <teczm@foxmail.com>
Cc: akpm@linux-foundation.org, dakr@kernel.org,
	linux-kernel@vger.kernel.org, rafael@kernel.org,
	viro@zeniv.linux.org.uk
Subject: Re: [PATCH] kobject_uevent: add uevent_helper exist check
Date: Mon, 7 Apr 2025 09:01:54 +0200	[thread overview]
Message-ID: <2025040744-anvil-tiptop-bbdb@gregkh> (raw)
In-Reply-To: <tencent_474AC55ADEE443D037337A9ED09422D8C408@qq.com>

On Sun, Apr 06, 2025 at 02:19:15PM +0800, zhoumin wrote:
> Hi Andrew,
> 
> Thank you for your feedback.
> 
> > Is there any measurable reduction in boot time?
> 
> This depends on the number of uevent and the performance of the device. 
> In fact, I found this issue during a project to optomize boot time,
> and on my embedded device, it can be optimized by at least 2 seconds.

So you are spending 2 seconds in failing to lookup the uevent helper
path?  That feels really wrong, how long does your boot take overall?
What % is 2 seconds?

thanks,

greg k-h

  reply	other threads:[~2025-04-07  7:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-04 17:31 [PATCH] kobject_uevent: add uevent_helper exist check zhoumin
2025-04-05 22:52 ` Andrew Morton
2025-04-06  6:19   ` zhoumin
2025-04-07  7:01     ` Greg KH [this message]
2025-04-07  7:00 ` Greg KH
2025-04-07 15:18   ` zhoumin
2025-04-07 15:35     ` Greg KH
2025-04-07 16:22       ` zhoumin

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=2025040744-anvil-tiptop-bbdb@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=dakr@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=teczm@foxmail.com \
    --cc=viro@zeniv.linux.org.uk \
    /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