Hi, I am looking for a kernel variable which gives me the number of cpus that are present in the system. In uts/common/os/cpu.c the macro NCPU seems to be used, but if I understand correctly this equals the maximum number of cpus supported, but not necessarily present. Is there a specific reason why this code loops over this whole range (which equals 558 in my system) instead of only the present cpus?
I would like such a variable in order to loop over all processors. I don't think it matters, but I am using a SPARC-based architecture. Thank you, Thomas _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
