linux_dsm_epyc7002/drivers/media/usb
Bhaktipriya Shridhar e596468957 [media] gspca: jl2005bcd: Remove deprecated create_singlethread_workqueue
The workqueue "work_thread" is involved in streaming the camera data.
It has a single work item(&sd->work_struct) 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>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-08-24 09:29:56 -03:00
..
airspy [media] media: usb: airspy: airspy: don't print error when allocating urb fails 2016-08-24 08:47:59 -03:00
as102 [media] media: usb: as102: as102_usb_drv: don't print error when allocating urb fails 2016-08-24 08:48:19 -03:00
au0828 [media] media: usb: au0828: au0828-video: don't print error when allocating urb fails 2016-08-24 08:48:38 -03:00
b2c2 [media] media: change email address 2016-01-25 12:01:08 -02:00
cpia2 [media] media: usb: cpia2: cpia2_usb: don't print error when allocating urb fails 2016-08-24 08:48:56 -03:00
cx231xx [media] media: usb: cx231xx: cx231xx-vbi: don't print error when allocating urb fails 2016-08-24 08:49:55 -03:00
dvb-usb [media] media: usb: dvb-usb: dib0700_core: don't print error when allocating urb fails 2016-08-24 08:50:15 -03:00
dvb-usb-v2 [media] af9035: fix dual tuner detection with PCTV 79e 2016-07-15 11:44:10 -03:00
em28xx [media] media: usb: em28xx: em28xx-core: don't print error when allocating urb fails 2016-08-24 08:50:52 -03:00
go7007 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
gspca [media] gspca: jl2005bcd: Remove deprecated create_singlethread_workqueue 2016-08-24 09:29:56 -03:00
hackrf [media] media: usb: hackrf: hackrf: don't print error when allocating urb fails 2016-08-24 08:52:16 -03:00
hdpvr [media] media: usb: hdpvr: hdpvr-video: don't print error when allocating urb fails 2016-08-24 09:24:40 -03:00
msi2500 [media] media: usb: msi2500: msi2500: don't print error when allocating urb fails 2016-08-24 09:24:58 -03:00
pvrusb2 [media] pvrusb2: Remove deprecated create_singlethread_workqueue 2016-08-24 09:28:39 -03:00
pwc [media] media: usb: pwc: pwc-if: don't print error when allocating urb fails 2016-08-24 09:25:20 -03:00
s2255 [media] media: usb: s2255: s2255drv: don't print error when allocating urb fails 2016-08-24 09:25:42 -03:00
siano [media] media_device: move allocation out of media_device_*_init 2016-02-23 07:19:39 -03:00
stk1160 [media] media: usb: stk1160: stk1160-video: don't print error when allocating urb fails 2016-08-24 09:26:01 -03:00
stkwebcam [media] media: usb: stkwebcam: stk-webcam: don't print error when allocating urb fails 2016-08-24 09:26:20 -03:00
tm6000 [media] media: usb: tm6000: tm6000-video: don't print error when allocating urb fails 2016-08-24 09:26:58 -03:00
ttusb-budget [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
ttusb-dec [media] ttusb-dec: constify ttusbdecfe_config structure 2015-11-19 11:22:15 -02:00
usbtv [media] media: usbtv: prevent access to free'd resources 2016-07-12 13:31:08 -03:00
usbvision [media] media: usb: usbvision: usbvision-core: don't print error when allocating urb fails 2016-08-24 09:27:16 -03:00
uvc Linux 4.7-rc6 2016-07-08 18:14:03 -03:00
zr364xx [media] media: usb: zr364xx: zr364xx: don't print error when allocating urb fails 2016-08-24 09:27:34 -03:00
Kconfig [media] tlg2300: move to staging in preparation for removal 2014-12-16 23:21:43 -02:00
Makefile [media] tlg2300: move to staging in preparation for removal 2014-12-16 23:21:43 -02:00