forked from luck/tmp_suning_uos_patched
f7cf0362f6
The workqueue "work_thread" is involved in updating parameters for transfers. It has a single work item(&sd->work) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueues have been able to handle high level of concurrency for a long time now and hence it's not required to have a singlethreaded workqueue just to gain concurrency. Unlike a dedicated per-cpu workqueue created with create_singlethread_workqueue(), system_wq allows multiple work items to overlap executions even on the same CPU; however, a per-cpu workqueue doesn't have any CPU locality or global ordering guarantee unless the target CPU is explicitly specified and thus the increase of local concurrency shouldn't make any difference. Work item has been flushed in sd_stop0() to ensure that there are no pending tasks while disconnecting the driver. Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
||
---|---|---|
.. | ||
gl860 | ||
m5602 | ||
stv06xx | ||
autogain_functions.c | ||
benq.c | ||
conex.c | ||
cpia1.c | ||
dtcs033.c | ||
etoms.c | ||
finepix.c | ||
gspca.c | ||
gspca.h | ||
jeilinj.c | ||
jl2005bcd.c | ||
jpeg.h | ||
Kconfig | ||
kinect.c | ||
konica.c | ||
Makefile | ||
mars.c | ||
mr97310a.c | ||
nw80x.c | ||
ov519.c | ||
ov534_9.c | ||
ov534.c | ||
pac_common.h | ||
pac207.c | ||
pac7302.c | ||
pac7311.c | ||
se401.c | ||
se401.h | ||
sn9c20x.c | ||
sn9c2028.c | ||
sn9c2028.h | ||
sonixb.c | ||
sonixj.c | ||
spca500.c | ||
spca501.c | ||
spca505.c | ||
spca506.c | ||
spca508.c | ||
spca561.c | ||
spca1528.c | ||
sq905.c | ||
sq905c.c | ||
sq930x.c | ||
stk014.c | ||
stk1135.c | ||
stk1135.h | ||
stv0680.c | ||
sunplus.c | ||
t613.c | ||
topro.c | ||
touptek.c | ||
tv8532.c | ||
vc032x.c | ||
vicam.c | ||
w996Xcf.c | ||
xirlink_cit.c | ||
zc3xx-reg.h | ||
zc3xx.c |