]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Add update_current_exec_runtime helper
authorShang XiaoJing <shangxiaojing@huawei.com>
Wed, 24 Aug 2022 08:28:56 +0000 (16:28 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 26 Aug 2022 22:05:35 +0000 (00:05 +0200)
commit21dba25dc6ce9a467f012894ae0e3d894b1f1009
tree5fa795ee0847e07754e96043ee214525dc7c551c
parentfc593e842ae69e7f1012ad42147173629325dee7
sched: Add update_current_exec_runtime helper

Wrap repeated code in helper function update_current_exec_runtime for
update the exec time of the current.

Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220824082856.15674-1-shangxiaojing@huawei.com
kernel/sched/deadline.c
kernel/sched/rt.c
kernel/sched/sched.h
kernel/sched/stop_task.c