Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206236
b: refs/heads/master
c: d313dd8
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo committed Jul 2, 2010
1 parent d299faf commit 80e8c37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a1e453d2799760ecf2e09ecd45b80edbe7ff540e
refs/heads/master: d313dd85ad846bc768d58e9ceb28588f917f4c9a
4 changes: 2 additions & 2 deletions trunk/kernel/workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -1832,10 +1832,10 @@ static int worker_thread(void *__worker)
} while (keep_working(gcwq));

worker_set_flags(worker, WORKER_PREP, false);

sleep:
if (unlikely(need_to_manage_workers(gcwq)) && manage_workers(worker))
goto recheck;
sleep:

/*
* gcwq->lock is held and there's no work to process and no
* need to manage, sleep. Workers are woken up only while
Expand Down

0 comments on commit 80e8c37

Please sign in to comment.