site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ySFesvJiFBEN5MX3PXO3oB9ZiFz+c7TMKzkJtFVnQqc=; b=u5mqHciP4dIqFt1y/aCaHyJ3ZzP2tY8W+j5uYhE/gAF4cCpggRgdivdiCW1LR/OL7Q Ihzr26QTz1p0PC1epDjFjaVIIRlIg19wGuYaE5lHct/Z51FE4wLpf7rpS5LiAKC+YdXp at2iXqVMjKwQRQ66gcpkvi9I74HvCr8+2Re7k= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BHFqSt6KiQA2PnZZ+oqZczGE3gIZoEaCQ+FgKUaR7xNNxXy7Yw/bUhxsq917as2Zco NK/za2rJ6cW4eg873gP2Y0NUQzR8PAy1rXAP+3PhK+WyQqHai6E2/RHoloMV/LgSfZkm 2TOwTim69S3V2diGwKRiv/osxmg7VLaiq5BH0= Thanks Terry, 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? Regards, Rob. On Tue, Nov 18, 2008 at 5:17 AM, Terry Lambert <tlambert@apple.com> wrote:
Interrupts are all routed to a single CPU. Disable them sparingly, and if possible, restructure your code so you don't need to disable them at all.
-- Terry
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... This email sent to site_archiver@lists.apple.com