summaryrefslogtreecommitdiff
path: root/ipc/compat_mq.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2015-05-08 21:38:00 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-05-08 22:24:02 +0300
commit598adc5c9c1cfd3f154f6d9df72b38eda63e306e (patch)
tree8ae8c800e928e875065ef452541a45e201da32c4 /ipc/compat_mq.c
parentd65817b4e707068c2dd3e002e87c2a0294aabc2c (diff)
downloadlinux-598adc5c9c1cfd3f154f6d9df72b38eda63e306e.tar.xz
perf bench futex: Handle spurious wakeups
Wrap futex_wait around a loop and catch for EINTR. Either a spurious wakeup occurred or a signal interrupted is, either way we need to block again. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Cc: Davidlohr Bueso <dbueso@suse.de> Link: http://lkml.kernel.org/r/1431110280-20231-2-git-send-email-dave@stgolabs.net Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'ipc/compat_mq.c')
0 files changed, 0 insertions, 0 deletions