Bug 465862
| Summary: | Warning from rt_mutex code while testing infiniband | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Clark Williams <williams> | ||||||||
| Component: | realtime-kernel | Assignee: | Steven Rostedt <srostedt> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 1.0 | CC: | bhu, davids, gozen, lgoncalv, pzijlstr, srostedt, williams | ||||||||
| Target Milestone: | 1.1 | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2009-01-22 10:44:51 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: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Clark Williams
2008-10-06 19:39:16 UTC
Created attachment 319594 [details]
patch to correct locking order of ib driver
Patch from srostedt to address this issue:
The ib driver releases the locks not in the reverse order that it takes them.
The RW locks in RT is very sensitive to this.
Hopefully the attached patch will fix the issue.
Patxh added to MRG kernel -85 Created attachment 319823 [details]
patch to allow rwlocks to unlock out of order
This patch fixes the quirk inside rwlocks that expected to unlock in the reverse order the locks were taken.
Since other places in the kernel may do this, this is the better patch than the one already attached.
Created attachment 319824 [details]
upadet rwlock torture test to include checking of unnested locks
This patch updates the rwlock torture test to include testing locks being released in an order that is not nested.
Patches added to -85 Verified by code review. Tried to trigger the misbehaviour on mrg-13.lab.bos.redhat.com on 2.6.24.7-81 without success. The problem did indeed exist on dell-pe1950-02.rhts.bos.redhat.com, but that box was not available at the moment of testing. No errors found using 2.6.24.7-93 on mrg-13. Found these patches for this bugzilla: * ib: release locks in the proper order 2b39f5cb4d843c6d32e55e99eff32ff99518c9cb - bz465862--ib-fix-locking-order.patch * rt: rwlock fix non nested unlocking 98184ed03651cbaa362a258b74238dbb26631290 - bz465862-rwlock-handle-bad-locking-practices.patch * rwlock: update torture test for testing unnested locking 695c1c048aa18caebaab7b8645eadc69fbf2f633 - bz465862-rwlock-update-torture-test.patch These patches was found in the mrg-rt.git tree, for the 2.6.24.7-93 branch. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-0009.html |