From: Thomas Hood <jdthood@mail.com>
To: Andreas Steinmetz <ast@domdv.de>
Cc: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>,
Russell King <rmk@arm.linux.org.uk>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-kernel@vger.kernel.org
Subject: Re: APM driver patch summary
Date: 22 Dec 2001 11:13:58 -0500 [thread overview]
Message-ID: <1009037653.807.14.camel@thanatos> (raw)
In-Reply-To: <XFMail.20011222154452.ast@domdv.de>
In-Reply-To: <XFMail.20011222154452.ast@domdv.de>
Thanks.
I have put Andreas's idle patch, Russell King's notification patch,
and a combined patch up at:
http://panopticon.csustan.edu/thood/apm.html
--
Thomas Hood
On Sat, 2001-12-22 at 09:44, Andreas Steinmetz wrote:
> Hi,
> I merged 2., 3. and 4. (attached) with some modifications.
>
> 1. There is now a module parameter apm-idle-threshold which allows to override
> the compiled in idle percentage threshold above which BIOS idle calls are
> done.
>
> 2. I modified Andrej's mechanism to detect a defunct BIOS (stating 'does stop
> CPU' when it actually doesn't) to take into account that there's other
> interrupts than the timer interrupt that could reactivate the cpu.
> As there's 16 hardware interrupts on x86 (apm is arch specific anyway) I do
> use a leaky bucket counter for a maximum of 16 idle rounds until jiffies is
> increased. When the counter reaches zero it stays at this value and the
> system idle routine is called. If BIOS idle is a noop then the counter
> reaches zero fast, thus effectively halting the cpu.
>
> Andrej, could you please test the patch if it works for your laptop?
next prev parent reply other threads:[~2001-12-22 16:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-22 3:35 APM driver patch summary Thomas Hood
2001-12-22 10:42 ` Andreas Steinmetz
2001-12-22 14:44 ` Andreas Steinmetz
2001-12-22 16:13 ` Thomas Hood [this message]
2002-01-04 19:56 ` Borsenkow Andrej
2002-01-05 11:58 ` Andreas Steinmetz
-- strict thread matches above, loose matches on Subject: below --
2001-12-23 3:22 Thomas Hood
2001-12-23 12:12 ` Andreas Steinmetz
[not found] <1008737165.1155.0.camel@thanatos>
2001-12-19 13:49 ` Thomas Hood
2001-12-18 21:46 Thomas Hood
2001-12-18 21:24 Thomas Hood
2001-12-18 21:42 ` Russell King
[not found] ` <E16GYl6-0000nz-00@phalynx>
2001-12-19 10:23 ` Russell King
2001-12-18 1:22 Thomas Hood
2001-12-18 10:02 ` Russell King
2001-12-17 18:28 Thomas Hood
2001-12-17 22:04 ` Russell King
2001-12-17 22:22 ` Russell King
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=1009037653.807.14.camel@thanatos \
--to=jdthood@mail.com \
--cc=Andrej.Borsenkow@mow.siemens.ru \
--cc=ast@domdv.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
--cc=sfr@canb.auug.org.au \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.