lkml.org 
[lkml]   [2010]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/3] sched: make runtime balancing code more EDF-friendly
From
Date
On Tue, 2010-02-23 at 19:56 +0100, Fabio Checconi wrote:
> + stop = move_runtime(rt_rq, iter, weight, rt_period,
> pull);
> + if (stop) {
> + raw_spin_unlock(&iter->rt_runtime_lock);
> + break;
> }
> next:
> raw_spin_unlock(&iter->rt_runtime_lock);

might as well put that:

if (stop)
break;

right after the raw_spin_unlock() that's already there.



\
 
 \ /
  Last update: 2010-02-25 22:47    [W:0.076 / U:2.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site