Loading kernel/sched/core.c +0 −3 Original line number Diff line number Diff line Loading @@ -7308,9 +7308,6 @@ void __init sched_init_smp(void) hotcpu_notifier(cpuset_cpu_active, CPU_PRI_CPUSET_ACTIVE); hotcpu_notifier(cpuset_cpu_inactive, CPU_PRI_CPUSET_INACTIVE); /* RT runtime code needs to handle some hotplug events */ hotcpu_notifier(update_runtime, 0); init_hrtick(); /* Move init over to a non-isolated CPU */ Loading kernel/sched/rt.c +0 −40 Original line number Diff line number Diff line Loading @@ -699,15 +699,6 @@ balanced: } } static void disable_runtime(struct rq *rq) { unsigned long flags; raw_spin_lock_irqsave(&rq->lock, flags); __disable_runtime(rq); raw_spin_unlock_irqrestore(&rq->lock, flags); } static void __enable_runtime(struct rq *rq) { rt_rq_iter_t iter; Loading @@ -732,37 +723,6 @@ static void __enable_runtime(struct rq *rq) } } static void enable_runtime(struct rq *rq) { unsigned long flags; raw_spin_lock_irqsave(&rq->lock, flags); __enable_runtime(rq); raw_spin_unlock_irqrestore(&rq->lock, flags); } int update_runtime(struct notifier_block *nfb, unsigned long action, void *hcpu) { int cpu = (int)(long)hcpu; switch (action) { case CPU_DOWN_PREPARE: case CPU_DOWN_PREPARE_FROZEN: disable_runtime(cpu_rq(cpu)); return NOTIFY_OK; case CPU_DOWN_FAILED: case CPU_DOWN_FAILED_FROZEN: case CPU_ONLINE: case CPU_ONLINE_FROZEN: enable_runtime(cpu_rq(cpu)); return NOTIFY_OK; default: return NOTIFY_DONE; } } static int balance_runtime(struct rt_rq *rt_rq) { int more = 0; Loading kernel/sched/sched.h +0 −1 Original line number Diff line number Diff line Loading @@ -1086,7 +1086,6 @@ extern void sysrq_sched_debug_show(void); #endif extern void sched_init_granularity(void); extern void update_max_interval(void); extern int update_runtime(struct notifier_block *nfb, unsigned long action, void *hcpu); extern void init_sched_rt_class(void); extern void init_sched_fair_class(void); Loading Loading
kernel/sched/core.c +0 −3 Original line number Diff line number Diff line Loading @@ -7308,9 +7308,6 @@ void __init sched_init_smp(void) hotcpu_notifier(cpuset_cpu_active, CPU_PRI_CPUSET_ACTIVE); hotcpu_notifier(cpuset_cpu_inactive, CPU_PRI_CPUSET_INACTIVE); /* RT runtime code needs to handle some hotplug events */ hotcpu_notifier(update_runtime, 0); init_hrtick(); /* Move init over to a non-isolated CPU */ Loading
kernel/sched/rt.c +0 −40 Original line number Diff line number Diff line Loading @@ -699,15 +699,6 @@ balanced: } } static void disable_runtime(struct rq *rq) { unsigned long flags; raw_spin_lock_irqsave(&rq->lock, flags); __disable_runtime(rq); raw_spin_unlock_irqrestore(&rq->lock, flags); } static void __enable_runtime(struct rq *rq) { rt_rq_iter_t iter; Loading @@ -732,37 +723,6 @@ static void __enable_runtime(struct rq *rq) } } static void enable_runtime(struct rq *rq) { unsigned long flags; raw_spin_lock_irqsave(&rq->lock, flags); __enable_runtime(rq); raw_spin_unlock_irqrestore(&rq->lock, flags); } int update_runtime(struct notifier_block *nfb, unsigned long action, void *hcpu) { int cpu = (int)(long)hcpu; switch (action) { case CPU_DOWN_PREPARE: case CPU_DOWN_PREPARE_FROZEN: disable_runtime(cpu_rq(cpu)); return NOTIFY_OK; case CPU_DOWN_FAILED: case CPU_DOWN_FAILED_FROZEN: case CPU_ONLINE: case CPU_ONLINE_FROZEN: enable_runtime(cpu_rq(cpu)); return NOTIFY_OK; default: return NOTIFY_DONE; } } static int balance_runtime(struct rt_rq *rt_rq) { int more = 0; Loading
kernel/sched/sched.h +0 −1 Original line number Diff line number Diff line Loading @@ -1086,7 +1086,6 @@ extern void sysrq_sched_debug_show(void); #endif extern void sched_init_granularity(void); extern void update_max_interval(void); extern int update_runtime(struct notifier_block *nfb, unsigned long action, void *hcpu); extern void init_sched_rt_class(void); extern void init_sched_fair_class(void); Loading