Bug 605506
Summary: | glibc: [RFE] pthread condvars are not priority inheritance aware | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | IBM Bug Proxy <bugproxy> |
Component: | glibc | Assignee: | glibc team <glibc-bugzilla> |
Status: | CLOSED UPSTREAM | QA Contact: | qe-baseos-tools-bugs |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 8.2 | CC: | ashankar, codonell, dj, fweimer, kuo-lang.tseng, law, mnewsome, pfrankli, triegel |
Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
Target Release: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-06 14:06:56 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
IBM Bug Proxy
2010-06-18 06:49:47 UTC
We have only just put into Fedora Rawhide a new condvar algorithm written by Torvald Riegel. I'll leave it to Torvald to comment here about priority inheritance and the new algorithm. One of the real blockers here is the addition of two new symbols to control per-condvar PI properities. We can't add new symbols to RHEL7, therefore this would have to be a RHEL8 feature since there we can expand the API during the major version number transition. Despite that I'm going to keep this on the RHEL7 track since it's an interesting feature we should review during each update and make sure it carries over to RHEL8. In a nutshell, we do not know how to implement a POSIX-conforming condition variable that is also PI aware using the kernel's futex operations as of today. I have discussed this also with Darren Hart and others at the recent Linux Real-Time Summit, and nobody else had ideas or solutions so far. Solving this may require new futex operations, or perhaps a completely different condition variable algorithm that trades off other properties important for the general case (eg, good performance) against being able to support PI. Given that RHEL 8.0 is out I'm moving this RFE there for us to track this as potential upstream work. We are going to track this bug upstream here: https://sourceware.org/bugzilla/show_bug.cgi?id=11588 This needs significant discussion upstream with IBM, Intel, and the real-time kernel community. We need to find a solution that balances the requirements of the general users of a condition variable and those that need priority inheritance. I'm marking this CLOSED/UPSTREAM, and we can revisit when we have an upstream solution in place. |