[Bug 19982] SetThreadAffinityMask() seems not to work correctly

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 15 08:08:59 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=19982





--- Comment #14 from red-ray <ray at pobox.co.uk>  2009-09-15 08:08:59 ---
(In reply to comment #8)
> Thank you for this.  I confirm that with this patch SIV reportts the correct
> processor topography.  The output from SIV is now:
> $ wine siv -save=[processors]=stdout -nodriver 2> /dev/null | egrep "(CPU-|APIC
>  G)"
>                     MPS  MCP  HTT          APIC  G  N  Affinity       Speed
> Processors  CPU-0   0    0    0            0000  0  0  0x00000001   3.17GHz
>             CPU-1   0    1    0    (core)  0001  0  1  0x00000002   3.17GHz
> I hope the patch is accepted this time around.  Is there any change it will
> make 1.1.30 ?

I have done more testing using the SIV 4.01 [Test APIC] page.  The patch
improves things but when lots of SetProcessAffinityMask() calls are made the
the threads end up on the incorrect CPU.  It's possible I did not apply the
patch correctly, but I also applied
http://bugs.winehq.org/show_bug.cgi?id=19964 which did work, so I am fairly
sure it went in correctly.

To run the test download http://rh-software.com/downloads/siz.zip, run SIV.exe,
select the [Test APIC] page (Right/Click tray Icon or System
Menu->Machine->Test APIC) and then press [Start].  If that does not fail then
press [Swap CPU] and it soon will.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list