aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLi Zefan <[email protected]>2009-01-07 18:07:42 -0800
committerLinus Torvalds <[email protected]>2009-01-08 08:31:03 -0800
commit33a68ac1c1b695216e873ee12e819adbe73e4d9f (patch)
tree0c58e50e7c528200390f740265f7eb7e7a3a87e6 /tools/perf/scripts/python
parente5f6a8609bab0c2d7543ab1505105e011832afd7 (diff)
cgroups: add inactive subsystems to rootnode.subsys_list
Though for an inactive hierarchy, we have subsys->root == &rootnode, but rootnode's subsys_list is always empty. This conflicts with the code in find_css_set(): for (i = 0; i < CGROUP_SUBSYS_COUNT; i++) { ... if (ss->root->subsys_list.next == &ss->sibling) { ... } } if (list_empty(&rootnode.subsys_list)) { ... } The above code assumes rootnode.subsys_list links all inactive hierarchies. Signed-off-by: Li Zefan <[email protected]> Cc: Paul Menage <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Cc: Balbir Singh <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions