[Mono-bugs] [Bug 487846] PPC code gen is inefficient in several areas

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 22 16:03:17 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=487846

User miguel at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=487846#c16





--- Comment #16 from Miguel de Icaza <miguel at novell.com>  2009-06-22 14:03:16 MDT ---
Steve,

I was reading some of the old email exchanges and this bug, and I realized that
one bit that is important for the code (correct me if I am wrong) is the
ability to detect whether more than one CPU is available on the system.

Your code needs to know if there is a difference between having multiple cpus,
and how many CPUs are currently active as more cpus can be activated on demand.

If this is important, perhaps the patch needs to use:

sysconf (_SC_NPROCESSORS_CONF)

Which reports the number of CPUs on the system, the number of currently active
CPUs is available through the other define _SC_NPROCESSORS_ONLN

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list