summaryrefslogtreecommitdiff
path: root/include/mtd/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2026-03-31 01:32:45 -0400
committerMartin K. Petersen <martin.petersen@oracle.com>2026-04-08 22:33:39 -0400
commit271aeff266c9ca97eae315d59ef0bfe0e4ce0a94 (patch)
treecb4cec4505991c4f7a6d2e42017e1d5fcb87f69f /include/mtd/git@git.tavy.me:linux-stable.git
parente423f1c7195645e18945fba0bd8f0a32e39286e7 (diff)
scsi: qla2xxx: Use nr_cpu_ids instead of NR_CPUS for qp_cpu_map allocation
Change the memory allocation for qp_cpu_map to use the actual number of CPUs ('nr_cpu_ids') instead of the maximum possible CPUs ('NR_CPUS'). This saves memory on systems where the maximum CPU limit is much higher than the active CPU count. Signed-off-by: Li RongQing <lirongqing@baidu.com> Link: https://patch.msgid.link/20260331053245.1839-1-lirongqing@baidu.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/mtd/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions