diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-02-25 08:47:30 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-02-25 08:57:37 -0700 |
commit | 3030fd4cb783377eca0e2a3eee63724a5c66ee15 (patch) | |
tree | 6949a688812bbf7a87aaea690873598364e4eb2a /fs/io-wq.h | |
parent | io_uring: fix poll_list race for SETUP_IOPOLL|SETUP_SQPOLL (diff) | |
download | linux-dev-3030fd4cb783377eca0e2a3eee63724a5c66ee15.tar.xz linux-dev-3030fd4cb783377eca0e2a3eee63724a5c66ee15.zip |
io-wq: remove spin-for-work optimization
Andres reports that buffered IO seems to suck up more cycles than we
would like, and he narrowed it down to the fact that the io-wq workers
will briefly spin for more work on completion of a work item. This was
a win on the networking side, but apparently some other cases take a
hit because of it. Remove the optimization to avoid burning more CPU
than we have to for disk IO.
Reported-by: Andres Freund <andres@anarazel.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions