Bug 61539
Summary: | The race condition in linuxthreads | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | hjl | ||||||
Component: | glibc | Assignee: | Jakub Jelinek <jakub> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.3 | CC: | fweimer | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2003-04-23 22:40:31 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 61901, 67218, 79579 | ||||||||
Attachments: |
|
Description
hjl
2002-03-21 07:28:06 UTC
Created attachment 49328 [details]
A simple patch
I don't know if a spinlock for manager_thread->p_priority is a better fix. Also we need to check if there are any other race conditions like that for other manager_thread fields. Created attachment 49329 [details]
A patch with spinlock
I uploaded another patch with spinlock. I've explained a few times on the libc lists that the patches aren't adequate. And probably no userlevel solution can be adequate. But this is all pointless now. LinuxThreads stays as it is, correct or not. I'm closing the bug therefore. |