[prev in list] [next in list] [prev in thread] [next in thread]
List: openvz-devel
Subject: [Devel] Re: [PATCH v5 1/3] cgroups: read-write lock CLONE_THREAD forking per threadgroup
From: menage () google ! com (Paul Menage)
Date: 2010-08-23 23:35:55
Message-ID: AANLkTi=e-kwUzfb2Mv8JmwKm_AxyB=ZeTVb+K0dBU4eu () mail ! gmail ! com
[Download RAW message or body]
On Tue, Aug 10, 2010 at 10:47 PM, Ben Blum <bblum at andrew.cmu.edu> wrote:
>
>
> Adds functionality to read/write lock CLONE_THREAD fork()ing per-threadgroup
>
> From: Ben Blum <bblum at andrew.cmu.edu>
>
> This patch adds an rwsem that lives in a threadgroup's signal_struct that's
> taken for reading in the fork path, under CONFIG_CGROUPS. If another part of
> the kernel later wants to use such a locking mechanism, the CONFIG_CGROUPS
> ifdefs should be changed to a higher-up flag that CGROUPS and the other system
> would both depend on.
>
> This is a pre-patch for cgroup-procs-write.patch.
>
> Signed-off-by: Ben Blum <bblum at andrew.cmu.edu>
Acked-by: Paul Menage <menage at google.com>
Paul
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic