* [PATCH] sched/fair: Make update_entity_lag() static
@ 2023-08-29 3:03 Hao Jia
2023-08-29 19:32 ` [tip: sched/urgent] " tip-bot2 for Hao Jia
0 siblings, 1 reply; 2+ messages in thread
From: Hao Jia @ 2023-08-29 3:03 UTC (permalink / raw)
To: mingo, peterz, mingo, juri.lelli, vincent.guittot,
dietmar.eggemann, rostedt, bsegall, mgorman, bristot, vschneid
Cc: linux-kernel, Hao Jia
The function update_entity_lag() is only used inside file fair.c.
Make it static.
Signed-off-by: Hao Jia <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 911d0063763c..8dbff6e7ad4f 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;
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip: sched/urgent] sched/fair: Make update_entity_lag() static
2023-08-29 3:03 [PATCH] sched/fair: Make update_entity_lag() static Hao Jia
@ 2023-08-29 19:32 ` tip-bot2 for Hao Jia
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Hao Jia @ 2023-08-29 19:32 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Hao Jia, Ingo Molnar, x86, linux-kernel
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@bytedance.com>
AuthorDate: Tue, 29 Aug 2023 11:03:25 +08:00
Committer: Ingo Molnar <mingo@kernel.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@bytedance.com>
Signed-off-by: Ingo Molnar <mingo@kernel.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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-29 19:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29 3:03 [PATCH] sched/fair: Make update_entity_lag() static Hao Jia
2023-08-29 19:32 ` [tip: sched/urgent] " tip-bot2 for Hao Jia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®