-
-
Notifications
You must be signed in to change notification settings - Fork 525
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
I was studying the runqlat implementation. The code uses the bpf_current_task_under_cgroup() to filter tasks by cgroup. As far as I understand, the "current task" here refers to the waker, i.e. the kernel, not the woken task. Since runqlat aims to measure task delay in the run queue, shouldn't the cgroup filter check the woken task rather than the waker?
| if (filter_cg && !bpf_current_task_under_cgroup(&cgroup_map, 0)) |
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed