diff options
author | Nick Piggin <npiggin@suse.de> | 2007-05-08 07:26:43 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 18:15:03 (GMT) |
commit | 72c1bbf308c75a136803d2d76d0e18258be14c7a (patch) | |
tree | 647fe566121ba004590e5b639ae791ec4af7955d /ipc/msgutil.c | |
parent | 9adef58b1d4fbb58d7daed931b6790c5a3b7543a (diff) | |
download | linux-fsl-qoriq-72c1bbf308c75a136803d2d76d0e18258be14c7a.tar.xz |
futex: restartable futex_wait
LTP test sigaction_16_24 fails, because it expects sem_wait to be restarted
if SA_RESTART is set. sem_wait is implemented with futex_wait, that
currently doesn't support being restarted. Ulrich confirms that the call
should be restartable.
Implement a restart_block method to handle the relative timeout, and allow
restarts.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions