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

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 30 18:32:39 CDT 2009


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





--- Comment #48 from Juan Lang <juan_lang at yahoo.com>  2009-09-30 18:32:39 ---
(In reply to comment #47)
> > the APIC identification is failing under Wine.
> 
> I am unclear as to what you mean by this.  The APIC is returned  in bits
> 31...24 of EBX after issuing a CPUID 1 instruction.  Wine/*nix can not affect
> the operation of the CPUID instruction, it's just like any other unprivileged
> x86 instruction.

Okay.  I didn't remember that that's how you were doing it.

> Have you run SIV on your system ?  Does the failure get shown on your system
> please ?  I would like to get an idea if this is just a ubuntu Linux issue.  To
> actually know it works at all with Wine would be a valuable input.

Yes, and it fails in the same way here, if I understand the program well
enough.  (I confess to finding SIV pretty confusing.)  Nevertheless, the
sched_setaffinity calls succeed.  (I instrumented my own wineserver to verify
it.)  So I'm leaning toward this being a kernel bug.  Once we ask the kernel to
schedule a thread on a different CPU, and the kernel says, "righto," there's
nothing more we can do, is there?

-- 
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