Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 14 Jul 2002 18:52:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 14 Jul 2002 18:52:58 -0400 Received: from AMontpellier-205-1-4-20.abo.wanadoo.fr ([217.128.205.20]:2775 "EHLO awak") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Sun, 14 Jul 2002 18:52:58 -0400 Subject: Re: apm power_off on smp From: Xavier Bestel To: Kelledin Cc: Linux Kernel Mailing List In-Reply-To: <200207141730.08342.kelledin+LKML@skarpsey.dyndns.org> References: <200207141730.08342.kelledin+LKML@skarpsey.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Mailer: Ximian Evolution 1.0.7 Date: 15 Jul 2002 00:55:38 +0200 Message-Id: <1026687339.2077.15.camel@bip> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1009 Lines: 21 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/