sched: fix timeout_expiry() not releasing its reference to this_cpu
This commit is contained in:
@@ -15,6 +15,8 @@ static void timeout_expiry(struct timer *timer)
|
|||||||
rq_lock(rq, &flags);
|
rq_lock(rq, &flags);
|
||||||
rq_enqueue(rq, thread);
|
rq_enqueue(rq, thread);
|
||||||
rq_unlock(rq, flags);
|
rq_unlock(rq, flags);
|
||||||
|
|
||||||
|
put_cpu(cpu);
|
||||||
}
|
}
|
||||||
|
|
||||||
void add_timer(struct timer *timer)
|
void add_timer(struct timer *timer)
|
||||||
|
|||||||
Reference in New Issue
Block a user