From: Arjan van de Ven <arjan@infradead.org>
To: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org
Subject: Re: acpi_battery_init() boot speed
Date: Wed, 15 Dec 2010 20:58:45 -0800 [thread overview]
Message-ID: <20101215205845.3e13fad2@infradead.org> (raw)
In-Reply-To: <alpine.LFD.2.00.1012151517090.21167@x980>
On Wed, 15 Dec 2010 15:27:44 -0500 (EST)
Len Brown <lenb@kernel.org> wrote:
>
> > wonder if this stuff is polling some battery property ?
> > (like discharge rate or something)
>
> Is there a simple way to get a profile that starts when
> acpi_battery_init() is called and ends when it returns?
>
> Note that acpi_battery_init() is not 900ms on all boxes --
> I had to poke around to find a slow one. My arrandale
> laptop runs acpi_battery_init in 71 ms.
make it a module, and run "perf top" while in an other terminal you do
while :; do modprobe acpi_battery ; rmmod acpi_battery ; done
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
next prev parent reply other threads:[~2010-12-16 4:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 8:13 acpi_battery_init() boot speed Len Brown
2010-12-15 8:15 ` Len Brown
2010-12-15 11:00 ` Arjan van de Ven
2010-12-15 20:27 ` Len Brown
2010-12-16 4:58 ` Arjan van de Ven [this message]
2010-12-17 4:31 ` Len Brown
2010-12-17 8:46 ` Len Brown
2010-12-17 16:02 ` Arjan van de Ven
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=20101215205845.3e13fad2@infradead.org \
--to=arjan@infradead.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.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