Re: IOMalloc / IOFree while holding a mutex
Re: IOMalloc / IOFree while holding a mutex
- Subject: Re: IOMalloc / IOFree while holding a mutex
- From: Ken Hornstein <email@hidden>
- Date: Wed, 16 Nov 2011 10:23:05 -0500
>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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden