mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
sched/deadline: Show leftover runtime and abs deadline in /proc/*/sched
This patch allows for reading the current (leftover) runtime and absolute deadline of a SCHED_DEADLINE task through /proc/*/sched (entries dl.runtime and dl.deadline), while debugging/testing. Signed-off-by: Tommaso Cucinotta <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Juri Lelli <[email protected]> Reviewed-by: Luca Abeni <[email protected]> Acked-by: Daniel Bistrot de Oliveira <[email protected]> Cc: Juri Lelli <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[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]>
This commit is contained in:
parent
5680d8094f
commit
59f8c29892
2 changed files with 10 additions and 0 deletions
|
|
@ -408,6 +408,11 @@ CONTENTS
|
|||
* the new scheduling related syscalls that manipulate it, i.e.,
|
||||
sched_setattr() and sched_getattr() are implemented.
|
||||
|
||||
For debugging purposes, the leftover runtime and absolute deadline of a
|
||||
SCHED_DEADLINE task can be retrieved through /proc/<pid>/sched (entries
|
||||
dl.runtime and dl.deadline, both values in ns). A programmatic way to
|
||||
retrieve these values from production code is under discussion.
|
||||
|
||||
|
||||
4.3 Default behavior
|
||||
---------------------
|
||||
|
|
@ -476,6 +481,7 @@ CONTENTS
|
|||
|
||||
Still missing:
|
||||
|
||||
- programmatic way to retrieve current runtime and absolute deadline
|
||||
- refinements to deadline inheritance, especially regarding the possibility
|
||||
of retaining bandwidth isolation among non-interacting tasks. This is
|
||||
being studied from both theoretical and practical points of view, and
|
||||
|
|
|
|||
Loading…
Reference in a new issue