io_uring/poll: Allocate apoll with generic alloc_cache helper
authorGabriel Krisman Bertazi <krisman@suse.de>
Mon, 16 Dec 2024 20:46:10 +0000 (15:46 -0500)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Dec 2024 20:47:47 +0000 (13:47 -0700)
commit4cc6fd392489cd76c7aa138eddace19dbcea366e
treecbe047ba1d6555852352d591337544b175dd564a
parentb42176e5055a628217ff1536111a9e2df23db835
io_uring/poll: Allocate apoll with generic alloc_cache helper

This abstracts away the cache details to simplify the code.

Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20241216204615.759089-5-krisman@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/poll.c