lkml.org 
[lkml]   [2018]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC PATCH] sched/fair: tg_set_cfs_slice() can be static

Fixes: 601aedfafd22 ("sched/fair: make CFS bandwidth slice per cpu group")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index abc48d9..daa1843 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -6665,7 +6665,7 @@ long tg_get_cfs_period(struct task_group *tg)
return cfs_period_us;
}

-int tg_set_cfs_slice(struct task_group *tg, long cfs_slice_us)
+static int tg_set_cfs_slice(struct task_group *tg, long cfs_slice_us)
{
u64 quota, slice;

@@ -6683,7 +6683,7 @@ int tg_set_cfs_slice(struct task_group *tg, long cfs_slice_us)
return 0;
}

-long tg_get_cfs_slice(struct task_group *tg)
+static long tg_get_cfs_slice(struct task_group *tg)
{
u64 slice_us;

\
 
 \ /
  Last update: 2018-05-01 02:31    [W:0.090 / U:1.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site