aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/lib/dump_tlb.c
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2019-08-26 17:23:46 +0000
committerJens Axboe <axboe@kernel.dk>2019-08-27 10:42:02 -0600
commit75b28affdd6aed1c68073ef53907c7bd822aff84 (patch)
tree4a0f288bf42e5b8dfbc20c4d09dcaad41e69e59f /arch/mips/lib/dump_tlb.c
parent27c4d3a3252fa661b049b8f57a548bba331133e0 (diff)
io_uring: allocate the two rings together
Both the sq and the cq rings have sizes just over a power of two, and the sq ring is significantly smaller. By bundling them in a single alllocation, we get the sq ring for free. This also means that IORING_OFF_SQ_RING and IORING_OFF_CQ_RING now mean the same thing. If we indicate this to userspace, we can save a mmap call. Signed-off-by: Hristo Venev <hristo@venev.name> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/mips/lib/dump_tlb.c')
0 files changed, 0 insertions, 0 deletions