summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2019-03-12 16:30:28 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-03-19 13:15:09 -0400
commit9afbee3d62a40532441d0de36ef3eaa38661a7bf (patch)
treed4642e2ab57bcfc5702fcf862b4db997bd1231dd /lib/Kconfig.debug
parent9a66d990c7429d61c1cdc6feb22e559da587a0db (diff)
downloadlinux-9afbee3d62a40532441d0de36ef3eaa38661a7bf.tar.gz
linux-9afbee3d62a40532441d0de36ef3eaa38661a7bf.tar.bz2
linux-9afbee3d62a40532441d0de36ef3eaa38661a7bf.zip
scsi: lpfc: Reduce memory footprint for lpfc_queue
Currently the driver maintains a sideband structure which has a pointer for each queue element. However, at 8 bytes per pointer, and up to 4k elements per queue, and 100s of queues, this can take up a lot of memory. Convert the driver to using an access routine that calculates the element address based on its index rather than using the pointer table. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions