diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2021-03-15 13:53:47 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-03-18 05:39:01 +0100 |
commit | bb83337058a7000644cdeffc67361d2473534756 (patch) | |
tree | 5632a838e0489afa182e4b366853a60cc5b46c39 /tools/perf/scripts/python/stat-cpi.py | |
parent | fd0823f405090f9f410fc3e3ff7efb52e7b486fa (diff) |
nvme-tcp: fix misuse of __smp_processor_id with preemption enabled
For our pure advisory use-case, we only rely on this call as a hint, so
fix the warning complaints of using the smp_processor_id variants with
preemption enabled.
Fixes: db5ad6b7f8cd ("nvme-tcp: try to send request in queue_rq context")
Fixes: ada831772188 ("nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT")
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Tested-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions