diff options
author | Peter Zijlstra <[email protected]> | 2011-04-09 21:17:40 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-05-28 18:01:09 +0200 |
commit | 075e0b00857e166dcc3e39037a1fc5a90acac709 (patch) | |
tree | 448cc154bde8d50cb43578416467cfe94d8267c5 /lib/mpi/mpiutil.c | |
parent | f506b3dc0ec454a16d40cab9ee5d75435b39dc50 (diff) |
perf: Optimize ctx_sched_out()
Oleg noted that ctx_sched_out() disables the PMU even though it might
not actually do something, avoid needless PMU-disabling.
Reported-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions