Re: [PATCH] Driver Core patches for 2.6.10-rc1
From: Greg KH
Date: Thu Nov 11 2004 - 19:45:27 EST
On Thu, Nov 11, 2004 at 08:36:07AM +1100, Paul Mackerras wrote:
> Russell King writes:
> > On Wed, Nov 10, 2004 at 01:57:17PM +1100, Paul Mackerras wrote:
> > > So we can get a driver's probe method called concurrently with its
> > > bus's suspend or resume method.
> > If correct, we probably have rather a lot of buggy drivers, because
> > I certainly was not aware that this could happen. I suspect the
> > average driver writer also would not be aware of that.
> No doubt. I'd still like to hear from Greg or Pat about what the
> concurrency rules are supposed to be, or were intended to be.
They are still under flux as to what they should be :)
I'm currently working on reworking all of the locking in the driver
core, to document, and fix the number of issues that suspend, and
manual disconnect, and manual attach are causing. It should also fix
the issue that I know you want Russell, namely adding a new device from
a probe() callback.
See the other threads about manual disconnect in the driver model on
lkml for some other details. I'll post more here when I have some
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/