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>
Fri, 7 Oct 2022 19:49:28 +0000 (13:49 -0600)
commit7f92f7229c2ca8bae33f1578082f1baa0500a079
tree06ac49e5e18c68eaf6b92ca716416d1341e4ca41
parent9c5d77f47c05d5ddc096ebd456ee2f49e236eacc
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