cgroup: Remove redundant code that handles zombie tasks

Zombie tasks are dumped in dump_zombies() so it is redundant to handle them
in dump_one_task().

Deprecate cg_set in task_core_entry as this field must be per thread now.

Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
This commit is contained in:
Bui Quang Minh 2022-11-03 22:04:53 +07:00 committed by Andrei Vagin
parent c1ae880eb4
commit f5e0f641a8
3 changed files with 6 additions and 11 deletions

View file

@ -40,6 +40,7 @@ message task_core_entry {
optional task_timers_entry timers = 7;
optional task_rlimits_entry rlimits = 8;
/* This is deprecated, should be per-thread */
optional uint32 cg_set = 9;
optional signal_queue_entry signals_s = 10;