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)
commit1b25a8c4d27170efff11895decf6c1a740be1af5
tree0d2b47310bff0cae295a76bb05331d403b3be032
parent16dad2798870c181f3cae976e4e0257d4fdf3a3c
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