[PATCH v3 0/3] Use update_current_exec_runtime simplify code

From: Yajun Deng
Date: Tue Oct 31 2023 - 08:59:55 EST


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(-)

--
2.25.1