aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2017-02-21 14:40:35 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-16 09:46:24 +0100
commitbce4dc80c66ad355c74e876c82ce371020754627 (patch)
tree94a1afef37ef4e07aa903198bbed8f79a59d10df /tools/perf/scripts/python/export-to-postgresql.py
parentsched/core: Make sched_ttwu_pending() atomic in time (diff)
downloadlinux-rng-bce4dc80c66ad355c74e876c82ce371020754627.tar.xz
linux-rng-bce4dc80c66ad355c74e876c82ce371020754627.zip
sched/core: Simplify update_rq_clock() in __schedule()
Instead of relying on deactivate_task() to call update_rq_clock() and handling the case where it didn't happen (task_on_rq_queued), unconditionally do update_rq_clock() and skip any further updates. This also avoids a double update on deactivate_task() + ttwu_local(). Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions