diff options
author | Wanpeng Li <[email protected]> | 2014-11-26 08:44:04 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-02-04 07:52:27 +0100 |
commit | 75381608e8410a72ae8b4080849dc86b472c01fb (patch) | |
tree | 738bd894b55dbb61c8437c1d845382b70685e5f3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 1019a359d3dc4b64d0e1e5a5efcb725d5e83994d (diff) |
sched/deadline: Avoid pointless __setscheduler()
There is no need to dequeue/enqueue and push/pull if there are
no scheduling parameters changed for the DL class.
Both fair and RT classes already check if parameters changed for
them to avoid unnecessary overhead. This patch add the parameters
changed test for the DL class in order to reduce overhead.
Signed-off-by: Wanpeng Li <[email protected]>
[ Fixed up the changelog. ]
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Kirill Tkhai <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions