• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Call function on all processors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Call function on all processors


  • Subject: Re: Call function on all processors
  • From: Paul Ripke <email@hidden>
  • Date: Fri, 17 Nov 2006 23:13:50 +1100
  • Mail-followup-to: email@hidden, Paul Litvak <email@hidden>, Michael Smith <email@hidden>

On Fri, Nov 17, 2006 at 03:40:54AM -0800, Michael Smith wrote:
> Paul Litvak wrote:
> >How would you call a function on all cpus from a kernel extension?
>
> I'm curious; why would you want to do this?
>
> 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.

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.

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.

--
stix
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Call function on all processors
      • From: Michael Smith <email@hidden>
References: 
 >Call function on all processors (From: Paul Litvak <email@hidden>)
 >Re: Call function on all processors (From: Michael Smith <email@hidden>)

  • Prev by Date: Re: Call function on all processors
  • Next by Date: Re: Call function on all processors
  • Previous by thread: Re: Call function on all processors
  • Next by thread: Re: Call function on all processors
  • Index(es):
    • Date
    • Thread