aboutsummaryrefslogtreecommitdiff
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-25 19:07:22 -0600
committerJens Axboe <axboe@kernel.dk>2024-04-15 08:10:25 -0600
commit05eb5fe226461c6459b81f109a9c23b46ed8bc3b (patch)
tree853c3dee6195eccb9dbfe15dd6ea8019a17e0b1c /kernel/audit.c
parentda22bdf38be2f2ba557d3031108614ebbba265e1 (diff)
io_uring: refill request cache in memory order
The allocator will generally return memory in order, but __io_alloc_req_refill() then adds them to a stack and we'll extract them in the opposite order. This obviously isn't a huge deal, but: 1) it makes debugging easier when they are in order 2) keeping them in-order is the right thing to do 3) reduces the code for adding them to the stack Just add them in reverse to the stack. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions