git: 9ba35540f44c - stable/13 - linux(4): The futex_wait operation should restart.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jun 2022 19:40:10 UTC
The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=9ba35540f44ca87d15084a67e50c8b99d86254f8 commit 9ba35540f44ca87d15084a67e50c8b99d86254f8 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2022-05-09 18:08:59 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2022-06-17 19:35:01 +0000 linux(4): The futex_wait operation should restart. It's ok from the futex_wait perspective as umtxq_sleep method uses absolute sleep timeout. MFC after: 2 weeks (cherry picked from commit 5eec19c8eb0e1afafd7290325c61611c9a13b621) --- sys/compat/linux/linux_futex.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c index 5591b4fc3234..1b4ef9e8efe8 100644 --- a/sys/compat/linux/linux_futex.c +++ b/sys/compat/linux/linux_futex.c @@ -779,8 +779,6 @@ linux_futex_wait(struct thread *td, struct linux_futex_args *args) } umtxq_unlock(&uq->uq_key); umtx_key_release(&uq->uq_key); - if (error == ERESTART) - error = EINTR; return (error); }