]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: add io_wq_work_node based stack
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 24 Sep 2021 20:59:46 +0000 (21:59 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:53 +0000 (05:49 -0600)
commit7807a0acfb6df5b6bdfab5571f7ae70973da0d74
treecd6599572b3d45f623aa6ad27a6c6d0ebe51f485
parent7a51cf43f4044d0a4b999cf0f0a2fdb43c17c2a6
io-wq: add io_wq_work_node based stack

Apart from just using lists (i.e. io_wq_work_list), we also want to have
stacks, which are a bit faster, and have some interoperability between
them. Add a stack implementation based on io_wq_work_node and some
helpers.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/5d3a412a5ac0d47e0f0499d70d2207d70a68925e.1632516769.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.h