Call function on all processors
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