From: Cedric Le Goater <clg@fr.ibm.com>
To: Matt Helsley <matthltc@us.ibm.com>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>,
Paul Menage <menage@google.com>,
Oren Laadan <orenl@cs.columbia.edu>,
Linus Torvalds <torvalds@linux-foundation.org>,
Pavel Machek <pavel@ucw.cz>,
linux-pm@lists.linux-foundation.org,
Linux Containers <containers@lists.linux-foundation.org>
Subject: Re: [RFC PATCH 5/5] Add a Signal Control Group Subsystem
Date: Wed, 23 Apr 2008 17:17:53 +0200 [thread overview]
Message-ID: <480F5321.9030008@fr.ibm.com> (raw)
In-Reply-To: <20080423142518.703428301@us.ibm.com>
Hello Matt !
> Add a signal control group subsystem that allows us to send signals to all tasks
> in the control group by writing the desired signal(7) number to the kill file.
>
> NOTE: We don't really need per-cgroup state, but control groups doesn't support
> stateless subsystems yet.
>
> Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
> ---
> include/linux/cgroup_signal.h | 28 +++++++++
> include/linux/cgroup_subsys.h | 6 +
> init/Kconfig | 6 +
> kernel/Makefile | 1
> kernel/cgroup_signal.c | 129 ++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 170 insertions(+)
I think there is a small race with new tasks entering the cgroup
while it's beeing killed, and a _fork ops would handle that. nop ?
Thanks,
C.
next prev parent reply other threads:[~2008-04-23 15:18 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080423142517.062433911@us.ibm.com>
[not found] ` <20080423142518.703428301@us.ibm.com>
[not found] ` <20080423142518.703428301-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-04-23 15:17 ` [RFC PATCH 5/5] Add a Signal Control Group Subsystem Cedric Le Goater
2008-04-23 15:17 ` Cedric Le Goater [this message]
[not found] ` <480F5321.9030008-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-04-23 15:37 ` Paul Menage
2008-04-23 15:37 ` Paul Menage
[not found] ` <6599ad830804230837x48860632m7c41e425458ba6b3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-04-24 7:00 ` Matt Helsley
2008-04-24 7:00 ` Matt Helsley
2008-04-24 7:00 ` Matt Helsley
2008-04-23 15:37 ` Paul Menage
2008-04-23 15:17 ` Cedric Le Goater
2008-04-24 6:47 [RFC][PATCH 0/5] Container Freezer: Reuse Suspend Freezer Matt Helsley
2008-04-24 6:48 ` [RFC][PATCH 5/5] Add a Signal Control Group Subsystem Matt Helsley
2008-04-24 6:48 ` Matt Helsley
2008-04-24 6:48 ` Matt Helsley
[not found] ` <20080424064758.113999091-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2008-04-24 19:30 ` Paul Jackson
2008-04-25 6:01 ` Paul Menage
2008-04-25 6:01 ` Paul Menage
2008-04-30 8:29 ` Matt Helsley
2008-04-30 8:29 ` Matt Helsley
[not found] ` <6599ad830804242301s6a00dd75ye212a28f97072b68-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-04-30 8:29 ` Matt Helsley
2008-04-25 11:41 ` Cedric Le Goater
2008-04-24 19:30 ` Paul Jackson
[not found] ` <20080424143032.7e659522.pj-sJ/iWh9BUns@public.gmane.org>
2008-04-30 7:48 ` Matt Helsley
2008-04-30 7:48 ` Matt Helsley
2008-04-30 7:48 ` Matt Helsley
[not found] ` <1209541714.6095.72.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-04-30 8:18 ` Paul Jackson
2008-04-30 8:18 ` Paul Jackson
2008-04-30 8:18 ` Paul Jackson
2008-04-24 19:30 ` Paul Jackson
2008-04-25 6:01 ` Paul Menage
2008-04-25 11:41 ` Cedric Le Goater
2008-04-25 11:41 ` Cedric Le Goater
[not found] ` <4811C37D.9050706-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-04-30 18:44 ` Matt Helsley
2008-04-30 18:44 ` Matt Helsley
2008-04-30 18:44 ` Matt Helsley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=480F5321.9030008@fr.ibm.com \
--to=clg@fr.ibm.com \
--cc=containers@lists.linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=matthltc@us.ibm.com \
--cc=menage@google.com \
--cc=orenl@cs.columbia.edu \
--cc=pavel@ucw.cz \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.