Re: apm power_off on smp

Pozsar Balazs (pozsy@uhulinux.hu)
Mon, 15 Jul 2002 01:03:59 +0200 (MEST)


Yes, all I want is poweroff.
I understand that apm is not smp safe, and pretty much all of it is
disabled in smp mode.

What i do not understand is why the poweroff functionality is disabled by
default.

On 15 Jul 2002, Xavier Bestel wrote:

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

-- 
pozsy

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