Re: [PATCH] x86 idle APM: delete apm_cpu_idle(), and its use ofpm_idle

From: Ingo Molnar
Date: Thu Mar 31 2011 - 02:56:44 EST



* Len Brown <lenb@xxxxxxxxxx> wrote:

> From: Len Brown <len.brown@xxxxxxxxx>
>
> There is some doubt whether the APM idle feature
> to call into the BIOS from the idle loop is reliable.
> Certainly it was known to fail on some machines,
> but more importantly, APM machines have not shipped
> for a decade and so finding machines to test the code
> is problematic.
>
> After this patch, systems running in APM mode will
> simply run default_idle() and HALT without calling
> into the BIOS from their idle loop.
>
> This deletes a much-maligned modular user of the (pm_idle)()
> function pointer.
>
> Signed-off-by: Len Brown <len.brown@xxxxxxxxx>

Ok, this should have far less negative impact on old hardware.

Acked-by: Ingo Molnar <mingo@xxxxxxx>

Thanks,

Ingo
--
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/