mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Help requested: futex(..., FUTEX_WAIT_PRIVATE, ...) returns EPERM
@ 2019-11-12 17:40 Harris, Robert
  2019-11-13  7:29 ` Harris, Robert
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Harris, Robert @ 2019-11-12 17:40 UTC (permalink / raw)
  To: tglx, mingo, peterz, dvhart; +Cc: linux-kernel, Harris, Robert

I am investigating an issue on 4.9.184 in which futex() returns EPERM
intermittently for

futex(uaddr, FUTEX_WAIT_PRIVATE, val, &timeout, NULL, 0)

The failure affects an application in an AWS lambda;  traditional
debugging approaches vary from difficult to impossible.  I cannot
reproduce the problem at will, instrument the kernel, install a new
kernel or get an application core dump.

Understanding the circumstances under which EPERM can be returned for
FUTEX_WAIT_PRIVATE would be useful but it is not a documented failure
mode.  I have spent some time looking through futex.c but have not
found anything yet.  I would be grateful for a hint from someone more
knowledgeable.

Please address/cc me on any reply.

Thanks,

Robert Harris
Confidentiality Notice | This email and any included attachments may be privileged, confidential and/or otherwise protected from disclosure. Access to this email by anyone other than the intended recipient is unauthorized. If you believe you have received this email in error, please contact the sender immediately and delete all copies. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-13 21:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12 17:40 Help requested: futex(..., FUTEX_WAIT_PRIVATE, ...) returns EPERM Harris, Robert
2019-11-13  7:29 ` Harris, Robert
2019-11-13  9:04 ` Thomas Gleixner
2019-11-13 10:15   ` Harris, Robert
2019-11-13 21:34     ` Thomas Gleixner
2019-11-13 13:29 ` Mikael Pettersson
2019-11-13 17:03   ` Harris, Robert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®