Commit 82845683 authored by Ingo Molnar's avatar Ingo Molnar

sched/fair: Rename check_preempt_wakeup() to check_preempt_wakeup_fair()

Other scheduling classes already postfix their similar methods
with the class name.
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
parent 7ad0354d
...@@ -7994,7 +7994,7 @@ static void set_next_buddy(struct sched_entity *se) ...@@ -7994,7 +7994,7 @@ static void set_next_buddy(struct sched_entity *se)
/* /*
* Preempt the current task with a newly woken task if needed: * Preempt the current task with a newly woken task if needed:
*/ */
static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_flags) static void check_preempt_wakeup_fair(struct rq *rq, struct task_struct *p, int wake_flags)
{ {
struct task_struct *curr = rq->curr; struct task_struct *curr = rq->curr;
struct sched_entity *se = &curr->se, *pse = &p->se; struct sched_entity *se = &curr->se, *pse = &p->se;
...@@ -12830,7 +12830,7 @@ DEFINE_SCHED_CLASS(fair) = { ...@@ -12830,7 +12830,7 @@ DEFINE_SCHED_CLASS(fair) = {
.yield_task = yield_task_fair, .yield_task = yield_task_fair,
.yield_to_task = yield_to_task_fair, .yield_to_task = yield_to_task_fair,
.check_preempt_curr = check_preempt_wakeup, .check_preempt_curr = check_preempt_wakeup_fair,
.pick_next_task = __pick_next_task_fair, .pick_next_task = __pick_next_task_fair,
.put_prev_task = put_prev_task_fair, .put_prev_task = put_prev_task_fair,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment