Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57859
b: refs/heads/master
c: a0f98a1
h: refs/heads/master
i:
  57857: 3c8e81f
  57855: 67805f9
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Jun 18, 2007
1 parent 93b1427 commit 592104d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4cc21505a09354ade787de368bd697a1bba3b213
refs/heads/master: a0f98a1cb7d27c656de450ba56efd31bdc59065e
8 changes: 5 additions & 3 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -7071,12 +7071,13 @@ EXPORT_SYMBOL(__might_sleep);
void normalize_rt_tasks(void)
{
struct prio_array *array;
struct task_struct *p;
struct task_struct *g, *p;
unsigned long flags;
struct rq *rq;

read_lock_irq(&tasklist_lock);
for_each_process(p) {

do_each_thread(g, p) {
if (!rt_task(p))
continue;

Expand All @@ -7094,7 +7095,8 @@ void normalize_rt_tasks(void)

__task_rq_unlock(rq);
spin_unlock_irqrestore(&p->pi_lock, flags);
}
} while_each_thread(g, p);

read_unlock_irq(&tasklist_lock);
}

Expand Down

0 comments on commit 592104d

Please sign in to comment.