linux-stable/drivers/s390
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
..
block s390/dasd: fix memleak in path handling error case 2020-01-12 12:12:00 +01:00
char s390/3270: fix lockdep false positive on view->lock 2019-05-16 19:42:21 +02:00
cio s390/cio: add cond_resched() in the slow_eval_known_fn() loop 2020-09-03 11:22:30 +02:00
crypto s390/zcrypt: handle new reply code FILTERED_BY_HYPERVISOR 2020-01-04 13:59:54 +01:00
net s390/qeth: don't process empty bridge port events 2020-08-21 09:48:11 +02:00
scsi scsi: zfcp: fix request object use-after-free in send path causing wrong traces 2020-06-03 08:18:13 +02:00
virtio s390/virtio: handle find on invalid queue gracefully 2019-03-23 14:35:20 +01:00
Makefile