diff options
| author | Jens Axboe <[email protected]> | 2025-08-21 19:24:57 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-08-21 19:54:01 +0000 |
| commit | e4e6aaea46b7be818eba0510ba68d30df8689ea3 (patch) | |
| tree | 2347c2cd0c784d5e28ff901fa737a739fdbce4e3 /io_uring/kbuf.c | |
| parent | io_uring/futex: ensure io_futex_wait() cleans up properly on failure (diff) | |
| download | kernel-e4e6aaea46b7be818eba0510ba68d30df8689ea3.tar.gz kernel-e4e6aaea46b7be818eba0510ba68d30df8689ea3.zip | |
io_uring: clear ->async_data as part of normal init
Opcode handlers like POLL_ADD will use ->async_data as the pointer for
double poll handling, which is a bit different than the usual case
where it's strictly gated by the REQ_F_ASYNC_DATA flag. Be a bit more
proactive in handling ->async_data, and clear it to NULL as part of
regular init. Init is touching that cacheline anyway, so might as well
clear it.
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'io_uring/kbuf.c')
0 files changed, 0 insertions, 0 deletions
