Skip to content

Commit 441cab9

Browse files
committed
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixlets from Thomas Gleixner: "Three trivial fixlets for the scheduler: - move print_rt_rq() and print_dl_rq() declarations to the right place - make grub_reclaim() static - fix the bogus documentation reference in Kconfig" * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/fair: Fix documentation file path sched/deadline: Make the grub_reclaim() function static sched/debug: Move the print_rt_rq() and print_dl_rq() declarations to kernel/sched/sched.h
2 parents 74cce52 + cd33d88 commit 441cab9

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

init/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ config CFS_BANDWIDTH
738738
tasks running within the fair group scheduler. Groups with no limit
739739
set are considered to be unconstrained and will run with no
740740
restriction.
741-
See tip/Documentation/scheduler/sched-bwc.txt for more information.
741+
See Documentation/scheduler/sched-bwc.txt for more information.
742742

743743
config RT_GROUP_SCHED
744744
bool "Group scheduling for SCHED_RR/FIFO"

kernel/sched/deadline.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ extern bool sched_rt_bandwidth_account(struct rt_rq *rt_rq);
11171117
* should be larger than 2^(64 - 20 - 8), which is more than 64 seconds.
11181118
* So, overflow is not an issue here.
11191119
*/
1120-
u64 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se)
1120+
static u64 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se)
11211121
{
11221122
u64 u_inact = rq->dl.this_bw - rq->dl.running_bw; /* Utot - Uact */
11231123
u64 u_act;
@@ -2731,8 +2731,6 @@ bool dl_cpu_busy(unsigned int cpu)
27312731
#endif
27322732

27332733
#ifdef CONFIG_SCHED_DEBUG
2734-
extern void print_dl_rq(struct seq_file *m, int cpu, struct dl_rq *dl_rq);
2735-
27362734
void print_dl_stats(struct seq_file *m, int cpu)
27372735
{
27382736
print_dl_rq(m, cpu, &cpu_rq(cpu)->dl);

kernel/sched/rt.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2701,8 +2701,6 @@ int sched_rr_handler(struct ctl_table *table, int write,
27012701
}
27022702

27032703
#ifdef CONFIG_SCHED_DEBUG
2704-
extern void print_rt_rq(struct seq_file *m, int cpu, struct rt_rq *rt_rq);
2705-
27062704
void print_rt_stats(struct seq_file *m, int cpu)
27072705
{
27082706
rt_rq_iter_t iter;

kernel/sched/sched.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2025,8 +2025,9 @@ extern bool sched_debug_enabled;
20252025
extern void print_cfs_stats(struct seq_file *m, int cpu);
20262026
extern void print_rt_stats(struct seq_file *m, int cpu);
20272027
extern void print_dl_stats(struct seq_file *m, int cpu);
2028-
extern void
2029-
print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq);
2028+
extern void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq);
2029+
extern void print_rt_rq(struct seq_file *m, int cpu, struct rt_rq *rt_rq);
2030+
extern void print_dl_rq(struct seq_file *m, int cpu, struct dl_rq *dl_rq);
20302031
#ifdef CONFIG_NUMA_BALANCING
20312032
extern void
20322033
show_numa_stats(struct task_struct *p, struct seq_file *m);

0 commit comments

Comments
 (0)