Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751536AbYHAO1V (ORCPT ); Fri, 1 Aug 2008 10:27:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751790AbYHAO1M (ORCPT ); Fri, 1 Aug 2008 10:27:12 -0400 Received: from mail.free-electrons.com ([88.191.46.45]:56998 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751494AbYHAO1L (ORCPT ); Fri, 1 Aug 2008 10:27:11 -0400 Date: Fri, 1 Aug 2008 16:27:12 +0200 From: Thomas Petazzoni To: Matt Helsley Cc: Andrew Morton , "Rafael J. Wysocki" , Paul Menage , Li Zefan , Linux-Kernel , Linux Containers , linux-pm@lists.linux-foundation.org, Cedric Le Goater , "Serge E. Hallyn" , Michael Opdenacker , linux-embedded@vger.kernel.org Subject: Re: [PATCH 2/6] Container Freezer: Make refrigerator always available Message-ID: <20080801162712.63721e8c@surf> In-Reply-To: <20080801050700.528446138@us.ibm.com> References: <20080801050659.924495279@us.ibm.com> <20080801050700.528446138@us.ibm.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 35 Hi, Le Thu, 31 Jul 2008 22:07:01 -0700, Matt Helsley a écrit : > --- a/kernel/Makefile > +++ b/kernel/Makefile > @@ -5,7 +5,7 @@ > obj-y = sched.o fork.o exec_domain.o panic.o printk.o \ > cpu.o exit.o itimer.o time.o softirq.o resource.o \ > sysctl.o capability.o ptrace.o timer.o user.o \ > - signal.o sys.o kmod.o workqueue.o pid.o \ > + signal.o sys.o kmod.o workqueue.o pid.o freezer.o \ I have the impression that the code in kernel/power/process.c was compiled only if CONFIG_PM_SLEEP was set. Now that the code has been moved to kernel/freezer.c, it is unconditionnaly compiled in every kernel. Is that correct ? If so, is it possible to put this new feature under some CONFIG_SOMETHING option, for people who care about the kernel size ? Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com -- 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/