eventpoll: split out wait handling
authorJens Axboe <axboe@kernel.dk>
Fri, 19 Aug 2022 02:15:58 +0000 (20:15 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 12 Apr 2023 14:55:59 +0000 (08:55 -0600)
commit1d56aab91c0a64b4ff105907a27d048f13db483a
treec09d7027ff9e2ee512fd097827a357b4481e8db7
parent62ca5ad10e7b47d622f7539c04741f752b6ccaa7
eventpoll: split out wait handling

In preparation for making changes to how wakeups and sleeps are done,
move the timeout scheduling into a helper and manage it rather than
rely on schedule_hrtimeout_range().

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/eventpoll.c