Re: [PATCH] sysctl equivalent of "idle=poll"

From: Randy.Dunlap
Date: Fri Jan 09 2004 - 16:42:04 EST


On Wed, 07 Jan 2004 00:39:09 -0600 Ian Pilcher <i.pilcher@xxxxxxxxxxx> wrote:

| The previous version of this patch didn't get any response, so on the
| "no news is good news" theory ... Any comments before I send this off to
| Marcelo?
|
| This adds a new x86-only sysctl, /proc/sys/kernel/idle_poll, which does
| basically the same thing as the "idle=poll" boot parameter (except that
| it can be turned on and off).
|
| This patch does not affect the ability of the APM and/or ACPI subsystems
| to override the default idle function. It adds one symbol,
| pm_idle_poll, to the global namespace.
|
| This patch applies cleanly to 2.4.23, 2.4.24, and 2.4.25-pre4.

Hi Ian,
Sorry for not replying sooner.

I don't see any problems with this patch itself, other than its
justification.

Why is a sysctl needed instead of using idle=X as a boot parameter?

Does this fix a bug/oops that you were having?
Or does it cover up a bug somewhere?

--
~Randy
MOTD: Always include version info.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/