public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [ACPI] acpi_os_queue_for_execution()
@ 2003-01-07 14:23 peter.holmes
  2003-01-08  9:47 ` Faye Pearson
  0 siblings, 1 reply; 9+ messages in thread
From: peter.holmes @ 2003-01-07 14:23 UTC (permalink / raw)
  To: faye; +Cc: linux-kernel

>> Andrew McGregor [andrew@indranet.co.nz] wrote:
>> So *that* is why ACPI kernels are so slow on my laptop (Dell i8k), 
>> and make so much heat. I bet one of those threads ends up busy 
>> looping because of other brokenness.

> Faye Pearson [faye@clara.net] wrote:
> My laptop was a lot happier when I removed the GPE _L00 method from my
> DSDT which was busylooping sending a processor 0x80 event.

As a relative newcomer to LINUX quite a lot of it is a foreign language,
(no awful pun intended).  I've been around electronics and computers for
quite a few years now.  So would you be so kind as to explain just what
is "GPE_L00" and "DSDT".  And just how we remove the salient part?
I have a new Acer Aspire 1304LC which I could cook an egg on.
Windoze(2K & XP Pro) don't generate anything like so much warmth.

Peter

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: [ACPI] acpi_os_queue_for_execution()
@ 2003-01-03 19:00 Grover, Andrew
  2003-01-04 22:44 ` Matthew Wilcox
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Grover, Andrew @ 2003-01-03 19:00 UTC (permalink / raw)
  To: Pavel Machek, ACPI mailing list, kernel list

> From: Pavel Machek [mailto:pavel@ucw.cz] 
> Acpi seems to create short-lived kernel threads, and I don't quite
> understand why. 
> 
> In thermal.c
> 
> 
>                         tz->timer.data = (unsigned long) tz;
>                         tz->timer.function = acpi_thermal_run;
>                         tz->timer.expires = jiffies + (HZ * 
> sleep_time) / 1000;
>                         add_timer(&(tz->timer));
> 
> and acpi_thermal_run creates kernel therad that runs
> acpi_thermal_check. Why is not acpi_thermal_check called directly? I
> don't like idea of thread being created every time thermal zone needs
> to be polled...

Are we allowed to block in a timer callback? One of the things
thermal_check does is call a control method, which in turn can be very
slow, sleep, etc., so I'd guess that's why the code tries to execute
things in its own thread.

Regards -- Andy

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-01-08  9:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-07 14:23 [ACPI] acpi_os_queue_for_execution() peter.holmes
2003-01-08  9:47 ` Faye Pearson
  -- strict thread matches above, loose matches on Subject: below --
2003-01-03 19:00 Grover, Andrew
2003-01-04 22:44 ` Matthew Wilcox
2003-01-05 12:23 ` Ingo Oeser
2003-01-06 11:12 ` Pavel Machek
2003-01-06 11:44 ` Andrew Morton
2003-01-06 12:58   ` Andrew McGregor
2003-01-06 17:26     ` Faye Pearson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox