1
0
Fork 0
alistair23-linux/drivers/s390/cio
Vineeth Vijayan 1d63737b07 s390/cio: add cond_resched() in the slow_eval_known_fn() loop
[ Upstream commit 0b8eb2ee9d ]

The scanning through subchannels during the time of an event could
take significant amount of time in case of platforms with lots of
known subchannels. This might result in higher scheduling latencies
for other tasks especially on systems with a single CPU. Add
cond_resched() call, as the loop in slow_eval_known_fn() can be
executed for a longer duration.

Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-03 11:26:59 +02:00
..
Makefile
airq.c
blacklist.c s390/cio: cio_ignore_proc_seq_next should increase position index 2020-03-12 13:00:13 +01:00
blacklist.h
ccwgroup.c s390 updates for the 5.4 merge window #2 2019-09-26 11:30:16 -07:00
ccwreq.c
chp.c
chp.h
chsc.c s390/cio: move struct node_descriptor to cio.h 2019-06-19 17:54:27 +02:00
chsc.h
chsc_sch.c driver_find_device: Unify the match function with class_find_device() 2019-06-24 05:22:31 +02:00
chsc_sch.h
cio.c
cio.h s390/cio: fix virtio-ccw DMA without PV 2019-10-10 10:49:46 +02:00
cio_debug.h
cmf.c
crw.c
css.c s390/cio: add cond_resched() in the slow_eval_known_fn() loop 2020-09-03 11:26:59 +02:00
css.h
device.c s390/cio: avoid duplicated 'ADD' uevents 2020-04-29 16:33:01 +02:00
device.h
device_fsm.c
device_id.c
device_ops.c s390/dasd/cio: Interpret ccw_device_get_mdc return value correctly 2020-01-12 12:21:43 +01:00
device_pgid.c
device_status.c
eadm_sch.c
eadm_sch.h
fcx.c
idset.c
idset.h
io_sch.h
ioasm.c
ioasm.h
isc.c
itcw.c
orb.h
qdio.h s390/qdio: put thinint indicator after early error 2020-06-24 17:50:22 +02:00
qdio_debug.c
qdio_debug.h
qdio_main.c s390/qdio: let drivers opt-out from Output Queue scanning 2019-08-24 16:39:18 -07:00
qdio_setup.c s390/qdio: put thinint indicator after early error 2020-06-24 17:50:22 +02:00
qdio_thinint.c s390/qdio: put thinint indicator after early error 2020-06-24 17:50:22 +02:00
scm.c bus_find_device: Unify the match callback with class_find_device 2019-06-24 05:22:31 +02:00
trace.c
trace.h
vfio_ccw_async.c vfio-ccw: make vfio_ccw_async_region_ops static 2019-07-29 18:05:03 +02:00
vfio_ccw_cp.c vfio-ccw: Set pa_nr to 0 if memory allocation fails for pa_iova_pfn 2019-07-15 14:16:37 +02:00
vfio_ccw_cp.h vfio-ccw: Move guest_cp storage into common struct 2019-06-21 14:12:19 +02:00
vfio_ccw_drv.c s390/cio: generate delayed uevent for vfio-ccw subchannels 2020-04-29 16:33:01 +02:00
vfio_ccw_fsm.c vfio-ccw: add some logging 2019-08-23 12:53:32 +02:00
vfio_ccw_ops.c vfio-ccw: add some logging 2019-08-23 12:53:32 +02:00
vfio_ccw_private.h vfio-ccw: add some logging 2019-08-23 12:53:32 +02:00
vfio_ccw_trace.h