linux_dsm_epyc7002/drivers/s390
Sebastian Ott 05b217f4c5 s390/css: validate subchannel prior to allocation
In css_alloc_subchannel we allocate the subchannel and do a
validation of the subchannel (to decide if we should look for
devices via this subchannel). On a typical LPAR we find lots
of subchannels to be invalid (because there is no device
attached or the device is blacklisted) leading to lots of
useless kmalloc and kfree calls.

This patch changes the order to only allocate the subchannels
that have been found valid.

Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-07-17 07:27:54 +02:00
..
block s390/dasd: fix cast-function-type warnings 2018-07-04 08:35:59 +02:00
char s390/sclp_async: replace callhome proc handler with generic one 2018-07-06 08:47:53 +02:00
cio s390/css: validate subchannel prior to allocation 2018-07-17 07:27:54 +02:00
crypto s390/crypto: fix gcc 8 stringop-truncation warning 2018-07-16 15:45:36 +02:00
net treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
scsi s390/dasd,zfcp: fix gcc 8 stringop-truncation warnings 2018-07-02 11:24:52 +02:00
virtio virtio/s390: implement PM operations for virtio_ccw 2018-02-14 14:34:09 +02:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00