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>
Thu, 1 Dec 2022 17:33:37 +0000 (10:33 -0700)
commit4d285536f834692cf42faea2a9c616844a3dae75
treee24de632c9bab6fa4018ad846ad0d50346c0311c
parent37adf927b02d3b59033b8b4b4da2c17b137c3067
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