]> 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)
commitee3686798f0f90476eecba7ab1102b5c068526b0
treecd6599572b3d45f623aa6ad27a6c6d0ebe51f485
parent91f4fa2dd587063d366e2e321236db651b70dd72
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