Re: Interrupt handling in multi-processor environment
Re: Interrupt handling in multi-processor environment
- Subject: Re: Interrupt handling in multi-processor environment
- From: "Chris Suter" <email@hidden>
- Date: Tue, 18 Nov 2008 13:24:03 +1100
Hi Rob,
On Tue, Nov 18, 2008 at 10:23 AM, Rob Cas
<email@hidden> wrote:
One further question:
When the sti/cli instruction is executed by
IOSimpleLockLockDisableInterrupts(), does it somehow have the effect
of disabling interrupts across all CPUs (or specifically the
'interrupt handling CPU'), or just on the CPU executing the code?
ie. If we're using IOSimpleLockLockDisableInterrupts(), do we need to
somehow make sure we call it while we're running on the 'interrupt
handling CPU' to ensure it has the desired effect?
Is there a reason you need to use IOFilterInterruptEventSource rather than IOInterruptEventSource? I mean, is performance that critical and will there be a large number of "ghost" interrupts?
-- Chris
_______________________________________________
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