linux-stable/drivers/s390/cio
Vineeth Vijayan cd124e99af 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:22:30 +02:00
..
airq.c
blacklist.c s390/cio: cio_ignore_proc_seq_next should increase position index 2020-03-11 18:03:00 +01:00
blacklist.h
ccwgroup.c s390/cio: avoid calling strlen on null pointer 2019-10-11 18:18:28 +02:00
ccwreq.c
chp.c
chp.h
chsc.c
chsc.h
chsc_sch.c
chsc_sch.h
cio.c
cio.h
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:22:30 +02:00
css.h
device.c s390/cio: avoid duplicated 'ADD' uevents 2020-05-02 17:24:14 +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:12:00 +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
Makefile
orb.h
qdio.h s390/qdio: put thinint indicator after early error 2020-06-25 15:41:51 +02:00
qdio_debug.c
qdio_debug.h
qdio_main.c s390/qdio: add sanity checks to the fast-requeue path 2019-08-16 10:13:52 +02:00
qdio_setup.c s390/qdio: put thinint indicator after early error 2020-06-25 15:41:51 +02:00
qdio_thinint.c s390/qdio: put thinint indicator after early error 2020-06-25 15:41:51 +02:00
scm.c
trace.c
trace.h
vfio_ccw_cp.c vfio-ccw: Set pa_nr to 0 if memory allocation fails for pa_iova_pfn 2019-08-16 10:13:50 +02:00
vfio_ccw_cp.h
vfio_ccw_drv.c
vfio_ccw_fsm.c
vfio_ccw_ops.c
vfio_ccw_private.h