From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935793AbXGZTJU (ORCPT ); Thu, 26 Jul 2007 15:09:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762342AbXGZTJI (ORCPT ); Thu, 26 Jul 2007 15:09:08 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:37822 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761445AbXGZTJH (ORCPT ); Thu, 26 Jul 2007 15:09:07 -0400 From: "Rafael J. Wysocki" To: Len Brown Subject: CONFIG_SUSPEND? (was: Re: [GIT PATCH] ACPI patches for 2.6.23-rc1) Date: Thu, 26 Jul 2007 21:17:25 +0200 User-Agent: KMail/1.9.5 Cc: Linus Torvalds , david@lang.hm, Andrew Morton , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Pavel Machek References: <200707251238.50218.lenb@kernel.org> <200707261345.29902.lenb@kernel.org> In-Reply-To: <200707261345.29902.lenb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707262117.26353.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, 26 July 2007 19:45, Len Brown wrote: > On Thursday 26 July 2007 02:55, Linus Torvalds wrote: > > > > On Thu, 26 Jul 2007, Len Brown wrote: > > > > > > Feel free to share what you know about the benefits vs. the costs > > > of maintaining CONFIG_ACPI_SLEEP as a build option. > > > > Why don't you just make CONFIG_ACPI_SLEEP dependent on SOFTWARE_SUSPEND > > and STR? > > CONFIG_STR doesn't exist. Hmm, perhaps we should introduce a CONFIG_SUSPEND and change CONFIG_SOFTWARE_SUSPEND into CONFIG_HIBERNATION, both depending on CONFIG_PM? There's quite some code needed only for suspend compiled in when CONFIG_PM is set ... Greetings, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth