futex: Clarify comment at futex_wait_multiple_setup()
PATCH v4 1/1 futex: Clarify comment at futex_wait_multiple_setup()
From: Jangwoong Kim <[email protected]>
Signed-off-by Jangwoong Kim <[email protected]>
--- kernel/futex/waitwake.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
kernel/futex/waitwake.c +3 -3
@@ -454,9 +454,9 @@ static int futex_wait_multiple_setup(struct futex_vector *vs, int count, int *wo__set_current_state (TASK_RUNNING );/* -* Even if something went wrong, if we find out that a futex -* was woken, we don't return error and return this index to -* userspace +* Even if something went wrong, if we find out that any futex +* was woken, we don't return error and return the index of the +* last futex awaken to userspace */ *woken =unqueue_multiple (vs, i);if (*woken >=0 )
Signature · 1 line
2.25.1
Às 14:14 de 09/12/21, [email protected] escreveu:
Quoted 2 lines
From: Jangwoong Kim <[email protected]>
Almost there, this time you forgot to write something here in the commit description :)
Quoted 23 lines
Signed-off-by Jangwoong Kim <[email protected]>--- kernel/futex/waitwake.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)kernel/futex/waitwake.c +3
-3@@ -454,9 +454,9 @@ static int futex_wait_multiple_setup(struct futex_vector *vs, int count, int *wo__set_current_state (TASK_RUNNING );/* -* Even if something went wrong, if we find out that a futex -* was woken, we don't return error and return this index to -* userspace +* Even if something went wrong, if we find out that any futex +* was woken, we don't return error and return the index of the +* last futex awaken to userspace */ *woken =unqueue_multiple (vs, i);if (*woken >=0 )