Bug 200467
Summary: | The syscall futex with operation FUTEX_LOCK_PI is not allowed to return ESRCH for robust mutexes. | ||
---|---|---|---|
Product: | Other | Reporter: | stli |
Component: | Other | Assignee: | Thomas Gleixner (tglx) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | fweimer, stli, tglx |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.17 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Reduced testcase which runs without the glibc-testsuite |
Description
stli
2018-07-10 15:50:03 UTC
Taking the bug. Will reply by mail I've tested the kernel commit https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=da791a667536bf8322042e38ca85d55a78d3c273 "futex: Cure exit race" from Thomas Gleixner on s390x (inside a zVM-guest) and x86_64 (inside a kvm-guest). Running on a kernel with this commit, the attached "reduced testcase" runs (with rounds_max = 100000000) without fails. I've also successfully run the original glibc testcase nptl/tst-robustpi4 in a loop. Running on an older kernel without this commit, the attached "reduced testcase" always failed within ~268000 rounds. On s390x (inside a zVM-guest) the original glibc testcase failed ~1900 times while running it 1000000 times. Thus I'm closing this bugzilla. Thanks. |