exit: abstract out should_wake helper for child_wait_callback()
authorJens Axboe <axboe@kernel.dk>
Tue, 11 Jul 2023 16:31:10 +0000 (10:31 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Sep 2023 18:03:33 +0000 (12:03 -0600)
commit9d900d4ea352069de8728f11fe4b20051d64cc20
tree781d71eeb196036eb6c75fd9a438c860f728e972
parentfc68fcda049108478ee4704d8a3ad3e05cc72fd0
exit: abstract out should_wake helper for child_wait_callback()

Abstract out the helper that decides if we should wake up following
a wake_up() callback on our internal waitqueue.

No functional changes intended in this patch.

Acked-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/exit.c