2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-16 09:34:22 +08:00
linux-next/drivers/media/usb/pvrusb2
Bhaktipriya Shridhar 29a3006e52 [media] pvrusb2: Remove deprecated create_singlethread_workqueue
The workqueue "workqueue" is involved in polling the pvrusb2 hardware
(pvr2_hdw).

It has a single work item(&hdw->workpoll) 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 pvr2_hdw_destroy 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:28:39 -03:00
..
Kconfig drivers/media/video/pvrusb2: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:38:06 -08:00
Makefile
pvrusb2-audio.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
pvrusb2-audio.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-context.c [media] pvrusb2: correctly handling failed thread run 2016-02-19 08:10:32 -02:00
pvrusb2-context.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-cs53l32a.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-cs53l32a.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-ctrl.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-ctrl.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-cx2584x-v4l.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
pvrusb2-cx2584x-v4l.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-debug.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-debugifc.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-debugifc.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-devattr.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-devattr.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-dvb.c
pvrusb2-dvb.h
pvrusb2-eeprom.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-eeprom.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-encoder.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-encoder.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-fx2-cmd.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-hdw-internal.h [media] pvrusb2: Remove deprecated create_singlethread_workqueue 2016-08-24 09:28:39 -03:00
pvrusb2-hdw.c [media] pvrusb2: Remove deprecated create_singlethread_workqueue 2016-08-24 09:28:39 -03:00
pvrusb2-hdw.h [media] usb: pvrusb2: pvrusb2-hdw: Remove unused function 2015-01-27 10:11:19 -02:00
pvrusb2-i2c-core.c [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
pvrusb2-i2c-core.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-io.c [media] pvrusb2-io: no need to check if sp is not NULL 2016-02-23 07:20:07 -03:00
pvrusb2-io.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-ioread.c [media] pvrusb2: fix inconsistent indenting 2015-05-01 06:12:01 -03:00
pvrusb2-ioread.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-main.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-std.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-std.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-sysfs.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-sysfs.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-util.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-v4l2.c [media] media/usb/pvrusb2: Support for V4L2_CTRL_WHICH_DEF_VAL 2015-11-17 14:46:44 -02:00
pvrusb2-v4l2.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-video-v4l.c [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
pvrusb2-video-v4l.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-wm8775.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2-wm8775.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
pvrusb2.h [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00