aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2010-09-16 14:42:25 +0200
committerIngo Molnar <[email protected]>2010-09-16 16:38:34 +0200
commit31915ab4cbf507aadab40847cf9989da5e88b090 (patch)
tree48f7f64cbfd82ee88cece1384e6eb949ef2cbed0 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent7740191cd909b75d75685fb08a5d1f54b8a9d28b (diff)
sched: Remove branch hints within context_switch()
With 710390d9 "sched: Optimize branch hint in context_switch()" the branch hint logic within context_switch() got inversed. In fact the hints "if (likely(!mm))" and "if (likely(!prev->mm))" mean that it is likely that the previous and next task are kernel threads. That assumption is certainly counter intuitive, but Tim has shown that at least with his workload this is true. Nevertheless the truth is: it depends on the current workload. So just remove the annotations which also improves readability. Reported-by: Tim Blechmann <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions