Bug 799385
Summary: | Thread can dead lock in migrate timers | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Steven Rostedt <srostedt> | ||||||
Component: | realtime-kernel | Assignee: | John Kacur <jkacur> | ||||||
Status: | CLOSED ERRATA | QA Contact: | David Sommerseth <davids> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 2.2 | CC: | bhu, jkacur, jkastner, lgoncalv, ovasik | ||||||
Target Milestone: | 2.2 | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: |
Cause: spin_trylock in migrate_timers disables preemption
Consequence: Deadlock
Fix: Allow the lock to block (sleep), and protect data by disabling cpu migration.
Result: Works as expected - no deadlock.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-09-19 18:03:25 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
Steven Rostedt
2012-03-02 15:58:02 UTC
Created attachment 567093 [details]
Use cpu_local_var() and let the spin lock block (3.2-rt)
Patch to fix 3.2-rt
Created attachment 567094 [details]
Use cpu_local_var() and let the spin lock block (3.0-rt)
Patch to fix 3.0-rt
The fix for this is equivalent to 7864ac1 git describe --contains 7864ac1 v3.2.14-rt24~11 Modifying the changelog in kernel-rt.spec to document this. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: spin_trylock in migrate_timers disables preemption Consequence: Deadlock Fix: Allow the lock to block (sleep), and protect data by disabling cpu migration. Result: Works as expected - no deadlock. The 3.2 version of this patch was picked up and added to 3.2.14-rt24 (upstream stable). Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-1282.html |