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

From: Dmitry Torokhov
Date: Tue Nov 09 2004 - 22:51:59 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/