Skip to content

Use update_current_exec_runtime simplify code

Yajun Deng lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 4 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sched: Don't account execution time for task groupkernel/sched/deadline.c kernel/sched/rt.c kernel/sched/sched.h +1 more+10 -72 replies
2/3sched: Don't trace stat runtime for task groupkernel/sched/deadline.c kernel/sched/rt.c kernel/sched/sched.h+1 -40 replies
3/3sched/fair: Simplify update_curr()kernel/sched/fair.c+3 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] Use update_current_exec_runtime simplify code

update_current_exec_runtime would update execution time for each task, we can use update_current_exec_runtime simplify code.

The 1st and 2nd patch update update_current_exec_runtime() applies to all callers.
The 3rd patch use update_current_exec_runtime simplify update_curr.

Yajun Deng (3):
sched: Don't account execution time for task group
sched: Don't trace stat runtime for task group sched/fair: Simplify update_curr()

 kernel/sched/deadline.c  |  4 +---
 kernel/sched/fair.c      | 13 +++----------
 kernel/sched/rt.c        |  5 ++---
 kernel/sched/sched.h     | 11 +++++++----
 kernel/sched/stop_task.c |  2 +-
 5 files changed, 14 insertions(+), 21 deletions(-)
Signature · 1 line
2.25.1