[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200804261502.37413.rjw@sisk.pl>
Date: Sat, 26 Apr 2008 15:02:36 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Cedric Le Goater <clg@...ibm.com>
Cc: Pavel Machek <pavel@....cz>, Matt Helsley <matthltc@...ibm.com>,
Linux-Kernel <linux-kernel@...r.kernel.org>,
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
On Friday, 25 of April 2008, Cedric Le Goater wrote:
> Pavel Machek wrote:
> > 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.
>
> Yes that's what we are trying to know, is the fake signal mechanism
> used by the freezer something we can build upon ?
Well, currently, the freezer doesn't send fake signals to kernel threads which
turns out to be problematic, becase some kernel threads behave very much like
user space processes (basically, the threads related to NFS and CIFS).
I have an idea how to fix this issue, but I'm not sure if it's acceptable
overall. I'll try to prepare a patch later today or tomorrow.
Thanks,
Rafael
--
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