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 03:00:54 -0800 [thread overview]
Message-ID: <20101215030054.0aae9e1e@infradead.org> (raw)
In-Reply-To: <alpine.LFD.2.00.1012150308260.4878@x980>
On Wed, 15 Dec 2010 03:13:50 -0500 (EST)
Len Brown <lenb@kernel.org> wrote:
> Hi Arjan,
> I hoped that the test patch below would help acpi_battery_init()
> on machines where it runs a lot of AML. I have a lenovo s10-3
> where it was taking 900ms, and this patch seemed to reduce
> it to 600ms. However, I measured again and it seems to have
> gone _up_ to 1300ms - so perhaps there is some other factor
> determining how long that routine is taking?
that's still a long time (we boot all other drivers including KMS in
0.5 seconds combined)
wonder if this stuff is polling some battery property ?
(like discharge rate or something)
wonder if the code could do just enough to register the device, and
do everything else in the background?
next prev parent reply other threads:[~2010-12-15 10:58 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 [this message]
2010-12-15 20:27 ` Len Brown
2010-12-16 4:58 ` Arjan van de Ven
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=20101215030054.0aae9e1e@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