Re: kapm-idled

Andreas Steinmetz (ast@domdv.de)
Wed, 05 Dec 2001 02:26:59 +0100 (CET)


Hi,
the problem is that kapm-idled and the idle task are both trying to handle the
system idle time. I did send a patch correcting this weird behaviour for
revision to Alan Cox a few days ago but until now there's no reaction from him.
Oh, and there's more problems with kapm-idled. Think of a task like kmix that
is ready to run every fraction of HZ to do some bookkeeping. Now look at the
kapm-idled code. If both run in sync, e.g. they are ready to run during the
same time slice kapm-idled will never do bios idle calls as there's always at
least one task ready to run and this is then accounted as a 'heavily loaded
system'.
If you want to have a look at the patch please let me know though it may take a
few days. I have to recover a system suffering from severe bit errors due to
a memory module having gone south very slowly and quiet.

On 04-Dec-2001 Gert Menke wrote:
> Hi,
>
> On Tue, Dec 04, 2001 at 09:45:44PM +0100, Dave Jones wrote:
>> http://www.tux.org/lkml/#s14-1
> Sorry, I should have read the FAQ first.
>
> But it is still annoying that kapm-idled claims to use that much system
> ressources when it isn't. When my system is idle it should say ~100% idle,
> not ~50% system. Right?
> Is there an easy way to fix this? Or a good reason not to?
>
> Greetings
> Gert
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/