mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
sched: Remove sched_switch
Currently we don't utilize the sched_switch field anymore. But, simply removing sched_switch field from the middle of the sched_stat output will break tools. So, to stay compatible we hardcode it to zero and remove the field from the scheduler data structures. Update the schedstat documentation accordingly. Signed-off-by: Rakib Mullick <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
4ec4412e1e
commit
30fd049afc
4 changed files with 4 additions and 5 deletions
|
|
@ -38,7 +38,8 @@ First field is a sched_yield() statistic:
|
|||
1) # of times sched_yield() was called
|
||||
|
||||
Next three are schedule() statistics:
|
||||
2) # of times we switched to the expired queue and reused it
|
||||
2) This field is a legacy array expiration count field used in the O(1)
|
||||
scheduler. We kept it for ABI compatibility, but it is always set to zero.
|
||||
3) # of times schedule() was called
|
||||
4) # of times schedule() left the processor idle
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue