diff options
author | Peter Zijlstra <[email protected]> | 2018-01-16 20:51:06 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-06 10:20:31 +0100 |
commit | b85c8b71bf8de36a88f338f406f02a8cb48c5c3b (patch) | |
tree | d9df9a5f4ad7b07e139adeb9655adabb010cf675 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 460e8c3340a265d1d70fa1ee05c42afd68b2efa0 (diff) |
sched/core: Optimize ttwu_stat()
The whole of ttwu_stat() is guarded by a single schedstat_enabled(),
there is absolutely no point in then issuing another static_branch for
every single schedstat_inc() in there.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions