summaryrefslogtreecommitdiff
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-04-12 15:09:44 +0100
committerJens Axboe <axboe@kernel.dk>2022-04-24 18:02:46 -0600
commit90e7c35fb89154439a4a604699faf36adbfa871b (patch)
treeaac2f1e5611d5f1b41aaa1c25cee6d92cc7c1964 /lib/dump_stack.c
parentcef216fc32d7628206c523994e7e267e7a8dda59 (diff)
io_uring: memcpy CQE from req
We can do CQE filling a bit more efficiently when req->cqe is fully filled by memcpy()'ing it to the userspace instead of doing it field by field. It's easier on register spilling, removes a couple of extra loads/stores and write combines two u32 memory writes. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/ee3f514ff28b1fe3347a8eca93a9d91647f2eaad.1649771823.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions