Re: IOMalloc / IOFree while holding a mutex
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com
It will also slow everything else down in the system, even if not CPU-bound, because all the tasks that depend on spinlock acquisition are designed with the assumption that it never takes very long to acquire one.
That's not actually a problem in practice, because if you block (in IOMalloc, or try to acquire a mutex that someone else is holding, or some other reason) while holding a spinlock you'll panic; problem solved! :-) --Ken _______________________________________________ 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
participants (1)
-
Ken Hornstein