summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2020-05-01 23:25:44 +0200
committerJens Axboe <axboe@kernel.dk>2020-05-10 00:18:36 +0200
commit72e5d757c62029664c0287d14519ec4451901b5e (patch)
tree7ed9be40a5b02309c28f84868a158d028e7c6b4e /ipc
parentnvme-tcp: use bh_lock in data_ready (diff)
downloadlinux-72e5d757c62029664c0287d14519ec4451901b5e.tar.xz
linux-72e5d757c62029664c0287d14519ec4451901b5e.zip
nvme-tcp: avoid scheduling io_work if we are already polling
When the user runs polled I/O, we shouldn't have to trigger the workqueue to generate the receive work upon the .data_ready upcall. This prevents a redundant context switch when the application is already polling for completions. Proposed-by: Mark Wunderlich <mark.wunderlich@intel.com> Signed-off-by: Mark Wunderlich <mark.wunderlich@intel.com> Signed-off-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 'ipc')
0 files changed, 0 insertions, 0 deletions