diff options
author | Tejun Heo <tj@kernel.org> | 2024-06-24 10:51:49 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-07-08 08:55:46 -1000 |
commit | 60564acbef5c43eeb11ecadf6efe17ac255a80b1 (patch) | |
tree | 4b0c93d507f4cf852c53692f49eb215df9d83742 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6203ef73fa5c0358f7960b038628259be1448724 (diff) |
sched, sched_ext: Simplify dl_prio() case handling in sched_fork()
sched_fork() returns with -EAGAIN if dl_prio(@p). a7a9fc549293 ("sched_ext:
Add boilerplate for extensible scheduler class") added scx_pre_fork() call
before it and then scx_cancel_fork() on the exit path. This is silly as the
dl_prio() block can just be moved above the scx_pre_fork() call.
Move the dl_prio() block above the scx_pre_fork() call and remove the now
unnecessary scx_cancel_fork() invocation.
Signed-off-by: Tejun Heo <tj@kernel.org>
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: David Vernet <void@manifault.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions