Re: apm power_off on smp

Xavier Bestel (xavier.bestel@free.fr)
15 Jul 2002 00:55:38 +0200


Le lun 15/07/2002 à 00:30, Kelledin a écrit :
> > APM's poweroff function is explicitly turned off on smp systems by
> > default. Could someone tell me please what is the reason for that?
>
> (as of kernel 2.4.18) pretty much *all* APM functions are disabled on SMP
> kernels--the simple reason being that APM isn't SMP safe, and making it SMP
> safe is not a trivial task.
>
> If all you want is a soft power-off, you're better off using ACPI (assuming
> your system supports it). Since this is probably a desktop (and not a
> laptop), I doubt there's much else you want in the way of power management...

ACPI is still very broken for some chipsets (VIA 686b), while apm works
well for this task (powering off a machine doesn't need much SMP
protection).

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