Re: Call function on all processors
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Thunderbird 1.5.0.8 (Macintosh/20061025) I'm curious; why would you want to do this? For one, I'm guessing this is the mechanism that CHUD tools uses to get the performance counters out of all the CPUs. But I could be wrong. = Mike _______________________________________________ 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... Paul Ripke wrote: How would you call a function on all cpus from a kernel extension? The only reasons I can think of have to do with changing per-CPU (vs. per context) state, and the OS owns all of that state. I suppose any other per-CPU state would be fair game - SpeedStep state, thermal state... I can see why some of that might be interesting. Most of it is exposed via other interfaces, or not practical to obtain without racing. The very act of trying to read the SpeedStep state can cause it to change, for example... This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith