diff options
| author | Oleg Nesterov <[email protected]> | 2007-05-09 02:33:54 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-09 12:30:51 -0700 |
| commit | 83c22520c51bf67529367e8237f95c03fe44e2da (patch) | |
| tree | d9798e4f60551bdad0f7d8f1f1d5c69d7c4214c1 /include/linux/debugobjects.h | |
| parent | edab2516a6c1752e8e5e3d55727cabf12346e5df (diff) | |
flush_cpu_workqueue: don't flush an empty ->worklist
Now when we have ->current_work we can avoid adding a barrier and waiting
for its completition when cwq's queue is empty.
Note: this change is also useful if we change flush_workqueue() to also
check the dead CPUs.
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Srivatsa Vaddagiri <[email protected]>
Cc: Gautham Shenoy <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions