aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2007-05-09 02:33:54 -0700
committerLinus Torvalds <[email protected]>2007-05-09 12:30:51 -0700
commit83c22520c51bf67529367e8237f95c03fe44e2da (patch)
treed9798e4f60551bdad0f7d8f1f1d5c69d7c4214c1 /include/linux/debugobjects.h
parentedab2516a6c1752e8e5e3d55727cabf12346e5df (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