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

From: Jiri Kosina
Date: Fri Apr 01 2011 - 05:28:46 EST


On Wed, 30 Mar 2011, Len Brown 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>
> ---
> Jiri,
> If you can review, test, ack, that would be great.
> I'll probably end up shipping this via the idle tree
> because subsequent patches to delete pm_idle
> will depend on it.

Looks fine, works here.

Acked-by: Jiri Kosina <jkosina@xxxxxxx>

Thanks Len.

--
Jiri Kosina
SUSE Labs, Novell Inc.
--
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/