On Sat, 5 Mar 2005, Greg KH wrote: > On Sat, Mar 05, 2005 at 10:38:03PM -0500, Alan Stern wrote: > > The need to make sure that suspend/resume are mutually exclusive > > with probe/release (and possibly other entry points). The USB > > subsystem has set up its own private locking arrangement to take > > care of this; perhaps that scheme should be adopted more widely. > > This locking should be moved to the driver core, if possible. My thought exactly! Would it suffice to have the PM suspend and resume routines get a read lock on the bus subsystem's rwsem? Alan Stern