[pulseaudio-tickets] [Bug 96638] once-test fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jan 24 05:19:55 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=96638
--- Comment #2 from Tanu Kaskinen <tanuk at iki.fi> ---
Sorry for late reply. The current code indeed does bad assumptions about the
availability of cpus. The fix doesn't seem quite right, however. Unless I'm
mistaken, your patch is equivalent to just removing the setaffinity call,
because you set the affinity to the same value that is already set for the
thread.
Note also that we have another fix applied for pa_ncpus():
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=1df21e6ab6cd42e2f7601a6c5577c20b7e3d1046
That changes things so that we don't try to use more cpus than what are online.
That might or might not fix the problem that you're seeing. The once-test code
still makes the assumption that the cpus that are online are numbered 0, 1, 2,
etc. which may be incorrect.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20170124/62a24852/attachment.html>
More information about the pulseaudio-bugs
mailing list