]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: storvsc: Avoid allocating memory for temp cpumasks
authorMichael Kelley <mhkelley58@gmail.com>
Thu, 17 May 2018 21:07:40 +0000 (14:07 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 May 2018 15:28:17 +0000 (11:28 -0400)
commit0be52c685483919097162683c8829867d15a462b
tree0d2b47310bff0cae295a76bb05331d403b3be032
parent90519cbaad5be5714a54d1a561b10824172ed59f
scsi: storvsc: Avoid allocating memory for temp cpumasks

Current code allocates 240 Kbytes (in typical configs) for each synthetic
SCSI controller to use as temp cpumask variables.  Recode to avoid needing
the temp cpumask variables and remove the memory allocation.

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Acked-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/storvsc_drv.c