]> err.no Git - linux-2.6/commit
[S390] cio: reduce cpu utilization during device scan
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
Sat, 26 Jan 2008 13:10:48 +0000 (14:10 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sat, 26 Jan 2008 13:11:03 +0000 (14:11 +0100)
commite82a1567e4b22eb035da2499d20ddd573c9acf75
tree0cf697f96e734a846ee1cbc598beebcc7be10117
parent4beee64685e116b01c47655daf6d88df87e053c8
[S390] cio: reduce cpu utilization during device scan

Minimize calls to cpu intensive function get_subchannel_by_schid()
by introducing function for_each_subchannel_staged() which
temporarily caches the information about registered subchannels
in a bitmap.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/chsc.c
drivers/s390/cio/css.c
drivers/s390/cio/css.h