mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Merge commit 'v2.6.26-rc9' into sched/devel
This commit is contained in:
commit
032f82786f
307 changed files with 9320 additions and 1331 deletions
|
@ -6075,6 +6075,7 @@ static void migrate_dead_tasks(unsigned int dead_cpu)
|
|||
next = pick_next_task(rq, rq->curr);
|
||||
if (!next)
|
||||
break;
|
||||
next->sched_class->put_prev_task(rq, next);
|
||||
migrate_dead(dead_cpu, next);
|
||||
|
||||
}
|
||||
|
@ -8755,6 +8756,9 @@ int sched_group_set_rt_period(struct task_group *tg, long rt_period_us)
|
|||
rt_period = (u64)rt_period_us * NSEC_PER_USEC;
|
||||
rt_runtime = tg->rt_bandwidth.rt_runtime;
|
||||
|
||||
if (rt_period == 0)
|
||||
return -EINVAL;
|
||||
|
||||
return tg_set_bandwidth(tg, rt_period, rt_runtime);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue