Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145962
b: refs/heads/master
c: 41c51c9
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Ingo Molnar committed May 5, 2009
1 parent f77d181 commit 44b0bd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: 05725f7eb4b8acb147c5fc7b91397b1f6bcab00d
refs/heads/master: 41c51c98f588edcdf6141cff1895df738e03ddd4
8 changes: 1 addition & 7 deletions trunk/kernel/rcupreempt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1356,17 +1356,11 @@ static int rcu_sched_grace_period(void *arg)

rcu_ctrlblk.sched_sleep = rcu_sched_sleeping;
spin_unlock_irqrestore(&rcu_ctrlblk.schedlock, flags);
ret = 0;
ret = 0; /* unused */
__wait_event_interruptible(rcu_ctrlblk.sched_wq,
rcu_ctrlblk.sched_sleep != rcu_sched_sleeping,
ret);

/*
* Signals would prevent us from sleeping, and we cannot
* do much with them in any case. So flush them.
*/
if (ret)
flush_signals(current);
couldsleepnext = 0;

} while (!kthread_should_stop());
Expand Down

0 comments on commit 44b0bd3

Please sign in to comment.