Re: [RFC] [PATCH] driver core: allow userspace to unbind drivers from devices.

Dmitry Torokhov
2004-11-10T03:49:53Z

On Tuesday 09 November 2004 07:33 pm, Greg KH wrote:
> All we have to do is rework that rwsem lock. It's been staring at us
> since the beginning of the driver core work, and we knew it would have
> to be fixed eventually. So might as well do it now.
>
...
>
> So, off to rework this mess...
>

Do you have any ideas here? For me it seems that the semaphore has a dual
role - protecting bus's lists and ensuring that probe/remove routines are
serialized across bus...

In the meantime, can I please have bind_mode patch applied? I believe
it is useful regardless of which bind/unbind solution will be adopted
and having them will allow me clean up serio bus implementaion quite a
bit.

Pretty please...

--
Dmitry