[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <169333752613.27769.784028076271904268.tip-bot2@tip-bot2>
Date: Tue, 29 Aug 2023 19:32:06 -0000
From: "tip-bot2 for Hao Jia" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Hao Jia <jiahao.os@...edance.com>, Ingo Molnar <mingo@...nel.org>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: sched/urgent] sched/fair: Make update_entity_lag() static
The following commit has been merged into the sched/urgent branch of tip:
Commit-ID: c958ca2013e28e7573ad95c028198cb67c1352dd
Gitweb: https://git.kernel.org/tip/c958ca2013e28e7573ad95c028198cb67c1352dd
Author: Hao Jia <jiahao.os@...edance.com>
AuthorDate: Tue, 29 Aug 2023 11:03:25 +08:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Tue, 29 Aug 2023 21:05:28 +02:00
sched/fair: Make update_entity_lag() static
The function update_entity_lag() is only used inside the kernel/sched/fair.c file.
Make it static.
Signed-off-by: Hao Jia <jiahao.os@...edance.com>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Link: https://lore.kernel.org/r/20230829030325.69128-1-jiahao.os@bytedance.com
---
kernel/sched/fair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 911d006..8dbff6e 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -699,7 +699,7 @@ u64 avg_vruntime(struct cfs_rq *cfs_rq)
*
* XXX could add max_slice to the augmented data to track this.
*/
-void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se)
+static void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se)
{
s64 lag, limit;
Powered by blists - more mailing lists