• 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
Call function on all processors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Call function on all processors


  • Subject: Call function on all processors
  • From: Paul Litvak <email@hidden>
  • Date: Thu, 16 Nov 2006 15:49:44 -0600

How would you call a function on all cpus from a kernel extension?

One way I can think of is to:

1. disable preemption through IOSimpleLockLock
2. call function on other cpus by generating an interprocessor interrupt (can this be done through IOKit or another API?)
3. call the function on this cpu
4. enable preemption through IOSimpleLockUnlock


- Paul Litvak

_______________________________________________
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>
    • Re: Call function on all processors
      • From: "Brian Bechtel" <email@hidden>
  • Prev by Date: Re: waiting queue
  • Next by Date: Re: Call function on all processors
  • Previous by thread: Re: waiting queue
  • Next by thread: Re: Call function on all processors
  • Index(es):
    • Date
    • Thread