From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934704AbXGZT6c (ORCPT ); Thu, 26 Jul 2007 15:58:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760953AbXGZT6X (ORCPT ); Thu, 26 Jul 2007 15:58:23 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:52032 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754569AbXGZT6W (ORCPT ); Thu, 26 Jul 2007 15:58:22 -0400 Date: Thu, 26 Jul 2007 12:57:54 -0700 (PDT) From: Linus Torvalds To: "Rafael J. Wysocki" cc: Len Brown , david@lang.hm, Andrew Morton , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Pavel Machek Subject: Re: CONFIG_SUSPEND? (was: Re: [GIT PATCH] ACPI patches for 2.6.23-rc1) In-Reply-To: <200707262117.26353.rjw@sisk.pl> Message-ID: References: <200707251238.50218.lenb@kernel.org> <200707261345.29902.lenb@kernel.org> <200707262117.26353.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Jul 2007, Rafael J. Wysocki wrote: > > 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 ... Sounds like a good idea, although I suspect that CONFIG_PM really *is* fairly close to CONFIG_SUSPEND. The thing is, all the stuff it enabled is largely useless without at least STR. (Yes, I realize that you can do per-driver suspend events etc, but I suspect not a lot of people have used it). But from a logical standpoint, it does make sense to have a separate config option for the STR support. Linus