Re: thread_funnel_set?
Re: thread_funnel_set?
- Subject: Re: thread_funnel_set?
- From: Quinn <email@hidden>
- Date: Mon, 9 May 2005 14:50:30 +0100
At 23:34 -0500 30/4/05, Brian Bergstrand wrote:
I'm surprised that they are still in Tiger, as that is supposed to be
one of the big changes in the Tiger kernel: no more funnels. I can
only surmise that they are there for some kind of backward
compatibility, but since all NKE and FS kext's have to be updated to
the kpi's I don't know who that compatibility would be for.
There are various parts of the kernel that continue to use the funnel
for concurrency control. These are typically parts that aren't
performance sensitive. A great example is the console driver.
At 9:55 -0500 2/5/05, Brian Bergstrand wrote:
Hmmm, the way I've understood it is that when you set the non-
reentrant flag, the VFS creates a mutex on the FS's behalf and then
automatically acquires/releases it before any VFS entry point.
That 'mutex' is the kernel funnel. It has to be a funnel rather than
a normal mutex so that it's automatically dropped regardless of how
you block.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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