linux/io_uring
Breno Leitao efba1a9e65 io_uring: Move from hlist to io_wq_work_node
Having cache entries linked using the hlist format brings no benefit, and
also requires an unnecessary extra pointer address per cache entry.

Use the internal io_wq_work_node single-linked list for the internal
alloc caches (async_msghdr and async_poll)

This is required to be able to use KASAN on cache entries, since we do
not need to touch unused (and poisoned) cache entries when adding more
entries to the list.

Suggested-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20230223164353.2839177-2-leitao@debian.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-04-03 07:16:12 -06:00
..
2023-04-03 07:14:21 -06:00
2022-12-07 06:47:13 -07:00
2022-09-21 13:15:02 -06:00
2022-07-24 18:39:11 -06:00
2023-01-29 15:17:41 -07:00
2023-01-29 15:17:41 -07:00
2022-07-24 18:39:14 -06:00
2023-02-20 14:03:57 -08:00
2023-03-24 14:10:39 -07:00