[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080425110456.GF14903@elf.ucw.cz>
Date: Fri, 25 Apr 2008 13:04:56 +0200
From: Pavel Machek <pavel@....cz>
To: Matt Helsley <matthltc@...ibm.com>,
"Rafael J. Wysocki" <rjw@...k.pl>
Cc: Linux-Kernel <linux-kernel@...r.kernel.org>,
Cedric Le Goater <clg@...ibm.com>,
Paul Menage <menage@...gle.com>,
Oren Laadan <orenl@...columbia.edu>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-pm@...ts.linux-foundation.org,
Linux Containers <containers@...ts.linux-foundation.org>
Subject: Re: [RFC][PATCH 2/5] Container Freezer: Make refrigerator always
available
Hi!
> Now that the TIF_FREEZE flag is available in all architectures,
> extract the refrigerator() and freeze_task() from kernel/power/process.c
> and make it available to all.
>
> The refrigerator() can now be used in a control group subsystem
> implementing a control group freezer.
>
> Signed-off-by: Cedric Le Goater <clg@...ibm.com>
> Signed-off-by: Matt Helsley <matthltc@...ibm.com>
> Tested-by: Matt Helsley <matthltc@...ibm.com>
There's no problem with doing this... but you should get some debate
(with Linus?) whether using freezer for cgroups is sane. When that is
done, there's no problem with this going in, probably through rafael's
patch queue.
(The first patch -- add freezer for all archs -- is probably
reasonably to go in ASAP, through akpm or something...)
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists