diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2020-06-01 20:05:20 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-11 09:10:05 -0600 |
commit | a40aae6bbf8dea09fbe6353a5635f4027c43c796 (patch) | |
tree | 46e968df2c8af994e5e2eb8da7ad2aa92c6ed96d /tools/perf/scripts/python/syscall-counts.py | |
parent | 6acbd9619b153f2881c91e84cd36a9a2ce124565 (diff) |
nvmet-tcp: constify nvmet_tcp_ops
nvmet_tcp_ops is never modified and can be made const to allow the
compiler to put it in read-only memory, as done in other transports.
Before:
text data bss dec hex filename
16164 160 12 16336 3fd0 drivers/nvme/target/tcp.o
After:
text data bss dec hex filename
16277 64 12 16353 3fe1 drivers/nvme/target/tcp.o
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Israel Rukshin <israelr@mellanox.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions