diff options
author | Frederic Weisbecker <[email protected]> | 2015-05-12 16:41:49 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-05-19 08:39:12 +0200 |
commit | b30f0e3ffedfa52b1d67a302ae5860c49998e5e2 (patch) | |
tree | 939884115ae2a9658da6e962833f00eb197d349a /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 90b62b5129d5cb50f62f40e684de7a1961e57197 (diff) |
sched/preempt: Optimize preemption operations on __schedule() callers
__schedule() disables preemption and some of its callers
(the preempt_schedule*() family) also set PREEMPT_ACTIVE.
So we have two preempt_count() modifications that could be performed
at once.
Lets remove the preemption disablement from __schedule() and pull
this responsibility to its callers in order to optimize preempt_count()
operations in a single place.
Suggested-by: Linus Torvalds <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions