Re: cdevsw close never called
Re: cdevsw close never called
- Subject: Re: cdevsw close never called
- From: Andrew Gallatin <email@hidden>
- Date: Fri, 06 Mar 2009 17:33:20 -0500
Andrew Gallatin wrote:
The best I've been able to achieve so far is to
periodically reap state which look dead. But that
is just gross.
BTW, the reaping I'm doing looks at the vnode associated
with the device node. Periodically, the driver scans
all open devices, and checks for any with a vnode whose
vcount() is 0. If this is happens, then I know the race
happened, and I can free up the resources associated with
that device and allow it to be opened again. Does that
seem reasonable?
Drew
_______________________________________________
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