[Devel] Re: [PATCH 2/6] Container Freezer: Make refrigerator always available

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Aug 1 07:27:12 PDT 2008


Hi,

Le Thu, 31 Jul 2008 22:07:01 -0700,
Matt Helsley <matthltc at us.ibm.com> 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
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list