summaryrefslogtreecommitdiff
path: root/drivers/s390/cio/css.h
diff options
context:
space:
mode:
authorPeter Oberparleiter <oberpar@linux.vnet.ibm.com>2013-11-26 17:57:13 +0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-12-16 17:37:40 +0400
commitb207f5a8f9a60fda4e995151af7d8670015e261d (patch)
treea74f52249f1f4ba9fce1f4d94a1bcaeef57ec991 /drivers/s390/cio/css.h
parent449666dd1efacaf3f0eb020cc617dd702356575c (diff)
downloadlinux-b207f5a8f9a60fda4e995151af7d8670015e261d.tar.xz
s390/cio: Relax subchannel scan loop
The CIO layer scans for newly available I/O devices by performing a scan of available subchannels using the Store Subchannel (STSCH) instruction. This processing can take a significant amount of time during which no other task can run on the same CPU (unless CONFIG_PREEMPT has been enabled). As a result, scheduling latencies for other tasks are increased noticeably, especially on a single-CPU system. Fix this problem by explicitly allowing other tasks to be scheduled each time a subchannel has been processed. Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/css.h')
0 files changed, 0 insertions, 0 deletions