diff options
| author | Paul Menage <[email protected]> | 2009-09-23 15:56:22 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-09-24 07:20:58 -0700 |
| commit | 7717f7ba92de485bce8293419a20ffef130f4286 (patch) | |
| tree | dc3d164fbef69e8481126bfc9cf596d0895c11e8 /include/linux/workqueue.h | |
| parent | fe6934354f8e287275500cd6ec73826d4d6ad457 (diff) | |
cgroups: add a back-pointer from struct cg_cgroup_link to struct cgroup
Currently the cgroups code makes the assumption that the subsystem
pointers in a struct css_set uniquely identify the hierarchy->cgroup
mappings associated with the css_set; and there's no way to directly
identify the associated set of cgroups other than by indirecting through
the appropriate subsystem state pointers.
This patch removes the need for that assumption by adding a back-pointer
from struct cg_cgroup_link object to its associated cgroup; this allows
the set of cgroups to be determined by traversing the cg_links list in
the struct css_set.
Signed-off-by: Paul Menage <[email protected]>
Reviewed-by: Li Zefan <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Dhaval Giani <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions