summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.ibm.com>2018-06-25 11:23:26 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-07-17 07:27:54 +0200
commit05b217f4c5573f34f6799698f7d4162c702132bc (patch)
tree5678caf88c1ae544b4f3f81f4cdc8332d0ba19b5 /sound
parent71aa11a40d1a1d80196b55d8dd95be2bc4c1649e (diff)
downloadlinux-stable-05b217f4c5573f34f6799698f7d4162c702132bc.tar.gz
linux-stable-05b217f4c5573f34f6799698f7d4162c702132bc.tar.bz2
linux-stable-05b217f4c5573f34f6799698f7d4162c702132bc.zip
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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions