From: Pavel Machek <pavel@ucw.cz>
To: Jan Niehusmann <jan@gondor.com>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: VCool - cool your Athlon/Duron during idle
Date: Tue, 28 Aug 2001 00:46:28 +0200 [thread overview]
Message-ID: <20010828004628.B1357@bug.ucw.cz> (raw)
In-Reply-To: <20010826181315Z271401-760+6195@vger.kernel.org> <20010827010053.A9149@gondor.com>
In-Reply-To: <20010827010053.A9149@gondor.com>; from Jan Niehusmann on Mon, Aug 27, 2001 at 01:00:53AM +0200
Hi!
> +static void stpclk_idle(void)
> +{
> + if (current_cpu_data.hlt_works_ok && !hlt_counter) {
> + __cli();
> + if (!current->need_resched)
> + inb(Reg_PL2);
> + else
> + __sti();
> + }
> +}
You are not using hlt instruction -> you don't need to care about
hlt_works_ok.
Pavel
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
next prev parent reply other threads:[~2001-08-28 9:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-26 18:09 VCool - cool your Athlon/Duron during idle Dieter Nützel
2001-08-26 19:24 ` Alan Cox
2001-08-26 20:00 ` Lehmann
2001-08-26 22:40 ` Andreas Bombe
2001-08-26 20:25 ` Dieter Nützel
2001-08-26 23:00 ` Jan Niehusmann
2001-08-27 22:46 ` Pavel Machek [this message]
[not found] <87pu9i7frm.fsf@psyche.kn-bremen.de>
2001-08-26 20:24 ` Alan Cox
[not found] <87pu9i7frm.fsf@psyche.kn-bremen.de.suse.lists.linux.kernel>
[not found] ` <E15b6Rz-0002hM-00@the-village.bc.nu.suse.lists.linux.kernel>
2001-08-27 6:55 ` Andi Kleen
-- strict thread matches above, loose matches on Subject: below --
2001-08-27 9:26 Grover, Andrew
2001-08-27 9:53 ` Jan Niehusmann
2001-08-27 11:48 ` Liakakis Kostas
2001-08-27 15:03 ` Kurt Roeckx
2001-08-27 18:23 ` Liakakis Kostas
2001-08-27 20:56 ` Paul G. Allen
2001-08-27 10:42 ` Alan Cox
2001-08-27 12:16 ` Dieter Nützel
2001-08-27 20:17 ` Paul G. Allen
2001-09-02 22:28 ` Jan Niehusmann
2001-08-27 20:57 Grover, Andrew
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=20010828004628.B1357@bug.ucw.cz \
--to=pavel@ucw.cz \
--cc=jan@gondor.com \
--cc=linux-kernel@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