diff options
author | Ming Lei <ming.lei@redhat.com> | 2021-01-22 10:33:13 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-04 17:37:00 -0500 |
commit | 9ebb4d70dc0e0e8989a13d156020db9d55fcfafd (patch) | |
tree | c6f17d0c5b852304170ebd2ed36721a28fec5476 /net | |
parent | 2a5a24aa83382a88c43d18a901fab66e6ffe1199 (diff) | |
download | lwn-9ebb4d70dc0e0e8989a13d156020db9d55fcfafd.tar.gz lwn-9ebb4d70dc0e0e8989a13d156020db9d55fcfafd.zip |
scsi: core: Put hot fields of scsi_host_template in one cacheline
The following three fields of scsi_host_template are referenced in the SCSI
I/O submission hot path. Put them together in one cacheline:
- cmd_size
- queuecommand
- commit_rqs
Link: https://lore.kernel.org/r/20210122023317.687987-10-ming.lei@redhat.com
Cc: Omar Sandoval <osandov@fb.com>
Cc: Kashyap Desai <kashyap.desai@broadcom.com>
Cc: Sumanesh Samanta <sumanesh.samanta@broadcom.com>
Cc: Ewan D. Milne <emilne@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Tested-by: Sumanesh Samanta <sumanesh.samanta@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions