aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2020-01-30 16:37:33 +0000
committerTejun Heo <[email protected]>2020-01-30 16:37:33 +0000
commit0cd9d33ace336bc424fc30944aa3defd6786e4fe (patch)
treeeb96a2a3b8d55ecd4c96741eefd766c9d86c68e7 /tools/perf/builtin-annotate.c
parentMerge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rd... (diff)
downloadkernel-0cd9d33ace336bc424fc30944aa3defd6786e4fe.tar.gz
kernel-0cd9d33ace336bc424fc30944aa3defd6786e4fe.zip
cgroup: init_tasks shouldn't be linked to the root cgroup
5153faac18d2 ("cgroup: remove cgroup_enable_task_cg_lists() optimization") removed lazy initialization of css_sets so that new tasks are always lniked to its css_set. In the process, it incorrectly ended up adding init_tasks to root css_set. They show up as PID 0's in root's cgroup.procs triggering warnings in systemd and generally confusing people. Fix it by skip css_set linking for init_tasks. Signed-off-by: Tejun Heo <[email protected]> Reported-by: https://github.com/joanbm Link: https://github.com/systemd/systemd/issues/14682 Fixes: 5153faac18d2 ("cgroup: remove cgroup_enable_task_cg_lists() optimization") Cc: [email protected] # v5.5+
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions