diff options
author | 2021-07-27 11:11:02 +0100 | |
---|---|---|
committer | 2021-08-04 15:16:44 +0200 | |
commit | 7ad721bf10718a4e480a27ded8bb16b8f6feb2d1 (patch) | |
tree | da0f52c204a3d0c567d86a1b289de73036da05a2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched/deadline: Fix reset_on_fork reporting of DL tasks (diff) | |
download | linux-dev-7ad721bf10718a4e480a27ded8bb16b8f6feb2d1.tar.xz linux-dev-7ad721bf10718a4e480a27ded8bb16b8f6feb2d1.zip |
sched: Don't report SCHED_FLAG_SUGOV in sched_getattr()
SCHED_FLAG_SUGOV is supposed to be a kernel-only flag that userspace
cannot interact with. However, sched_getattr() currently reports it
in sched_flags if called on a sugov worker even though it is not
actually defined in a UAPI header. To avoid this, make sure to
clean-up the sched_flags field in sched_getattr() before returning to
userspace.
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210727101103.2729607-3-qperret@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions