site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I would like some clarification for the new fields in struct host_basic_info in Tiger, anticipating support for cpu's with multiple cores. struct host_basic_info { // PANTHER: integer_t max_cpus; /* max number of CPUs possible */ integer_t avail_cpus; /* number of CPUs now available */ natural_t memory_size; /* size of memory in bytes, capped at 2 GB */ cpu_type_t cpu_type; /* cpu type */ cpu_subtype_t cpu_subtype; /* cpu subtype */ // TIGER adds: cpu_threadtype_t cpu_threadtype; /* cpu threadtype */ integer_t physical_cpu; /* number of physical CPUs now available */ integer_t physical_cpu_max; /* max number of physical CPUs possible */ integer_t logical_cpu; /* number of logical cpu now available */ integer_t logical_cpu_max; /* max number of logical CPUs possible */ uint64_t max_mem; /* actual size of physical memory */ }; In Panther I used max_cpus to determine the max number of worker threads that should be spawned for a particular purpose. Does this equate to physical_cpu_max or logical_cpu_max in Darwin 8.0.0? I need to use the largest of these values. I suppose that any *new* hardware will not run Panther anyway, but the question remains the same: which is largest, and which value will be used for max_cpus? Also, I couldn't find anything except 0 for cpu_threadtype; are there other values of concern yet? -- Shaun Wexler MacFOH http://www.macfoh.com This email sent to site_archiver@lists.apple.com