Bug #64138 | pthread_attr_set_schedparam still called with a bogus priority value | ||
---|---|---|---|
Submitted: | 26 Jan 2012 19:25 | Modified: | 18 Mar 2012 18:48 |
Reporter: | Mark Callaghan | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 5.1 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[26 Jan 2012 19:25]
Mark Callaghan
[26 Jan 2012 19:28]
Mark Callaghan
Looking at trunk again, WAIT_PRIOR is not used so this might be limited to 5.1
[26 Jan 2012 20:09]
Mark Callaghan
Our local linux guru explained that the call fails on new versions of glibc because of: It seems to be related to this commit: http://repo.or.cz/w/glibc.git/commitdiff/14ffbc8350791ff0f33ccc65af26ebaa1b520132. old glibc succeeds because its not trying to call sched_setscheduler() and defers the syscalls until pthread_create().
[27 Jan 2012 0:03]
Sveta Smirnova
Thank you for the report. Verified as described.
[27 Jan 2012 1:36]
Mark Callaghan
Work was done for: http://bugs.mysql.com/bug.php?id=35164 http://bugs.mysql.com/bug.php?id=37536
[27 Jan 2012 17:59]
Sveta Smirnova
This is only 5.1 issue: this code does not exist since 5.5
[27 Jan 2012 18:16]
Davi Arnaut
There was a decision to not fix this in 5.1 as it would either involve an incompatible change or cause adverse effects on some specific platforms.