* cpu hog reading battery info
@ 2005-06-17 13:01 Pippo Caloggero
[not found] ` <42B2C9B6.2080400-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Pippo Caloggero @ 2005-06-17 13:01 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi after upgrading to 2.6.11 doing a
cat /proc/acpi/battery/BAT0/info
hogs my cpu to the point that X and the mouse block for 1 second.
This is especially annoyng as for example kde battery monitor do that
every 20 secs to read battery capacity.
Is it a known bug? Is there some way to dig into it?
Thank you very much
Matteo
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <42B2C9B6.2080400-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>]
* Re: cpu hog reading battery info [not found] ` <42B2C9B6.2080400-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> @ 2005-06-17 13:36 ` Oisín Mac Fhearaí 0 siblings, 0 replies; 2+ messages in thread From: Oisín Mac Fhearaí @ 2005-06-17 13:36 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Friday 17 June 2005 14:01, Pippo Caloggero wrote: > Hi after upgrading to 2.6.11 doing a > cat /proc/acpi/battery/BAT0/info > hogs my cpu to the point that X and the mouse block for 1 second. > This is especially annoyng as for example kde battery monitor do that > every 20 secs to read battery capacity. > > Is it a known bug? Is there some way to dig into it? There's the EC burst mode patch out there which replaces the busy-wait spinlocks in drivers/acpi/ec.c with semaphores: http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/to-akpm/acpi-20050601041442-dtor-KwM2v4JqSEzeGshsqgM8IUPJkLQgvAqAJm6DLlPSJJU@public.gmane.org Maybe that'll apply for you. Oisín ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-17 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-17 13:01 cpu hog reading battery info Pippo Caloggero
[not found] ` <42B2C9B6.2080400-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
2005-06-17 13:36 ` Oisín Mac Fhearaí
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox