Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268942
b: refs/heads/master
c: 1eb5212
h: refs/heads/master
v: v3
  • Loading branch information
Shaohua Li authored and Paul E. McKenney committed Sep 29, 2011
1 parent 453c459 commit 3920a40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 1f288094807861ec1e48c428d2c49ccf7aaf3767
refs/heads/master: 1eb521210a8c9823038abe4ddfe8c69e713ec17d
8 changes: 3 additions & 5 deletions trunk/kernel/rcutree_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -1291,11 +1291,9 @@ static void invoke_rcu_callbacks_kthread(void)

local_irq_save(flags);
__this_cpu_write(rcu_cpu_has_work, 1);
if (__this_cpu_read(rcu_cpu_kthread_task) == NULL) {
local_irq_restore(flags);
return;
}
wake_up_process(__this_cpu_read(rcu_cpu_kthread_task));
if (__this_cpu_read(rcu_cpu_kthread_task) != NULL &&
current != __this_cpu_read(rcu_cpu_kthread_task))
wake_up_process(__this_cpu_read(rcu_cpu_kthread_task));
local_irq_restore(flags);
}

Expand Down

0 comments on commit 3920a40

Please sign in to comment.