Commit 28c4721
io_uring: replace cmpxchg in fallback with xchg
io_run_ctx_fallback() can use xchg() instead of cmpxchg(). It's simpler
and faster.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 2c32395 commit 28c4721
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8484 | 8484 | | |
8485 | 8485 | | |
8486 | 8486 | | |
8487 | | - | |
| 8487 | + | |
8488 | 8488 | | |
8489 | 8489 | | |
8490 | 8490 | | |
8491 | | - | |
8492 | | - | |
8493 | | - | |
8494 | | - | |
8495 | | - | |
| 8491 | + | |
8496 | 8492 | | |
8497 | 8493 | | |
8498 | 8494 | | |
| |||
0 commit comments