On Tue, Aug 24, 2004 at 05:02:15PM -0400, Alan Stern wrote: > Greg: > > This patch reintroduces the USB device locking code we tried out earlier. > As before, it solves the problem of effectively locking all the devices > while drivers are registered and unregistered by introducing an rwsem. > Unlike the earlier attempt, this version does not ever try to acquire a > lock re-entrantly. I trust that will eliminate the races and hang-ups you > observed with the earlier version. There are also copious comments > explaining exactly how things should work. > > The patch interacts slightly with the locktree() code introduced by David > for suspend/resume support. It doesn't change the functionality at all; > it just updates the routine to follow the new locking rules. > > It works okay on my system; I think it's ready for other people to try > out. Please apply.
Ok, first off, very sorry for the delay. So I looked this patch over, and it looks relativly sane :) But due to the other changes Dave (and possibly you) have made to the usb tree, this patch, and the other reset one, doesn't apply anymore. I could go back and apply it to an older kernel and merge it forward, but it looks like a portion of where you want to put locks has radically changed, and I'll probably get it wrong. So, I'll hold off on applying any more usb core changes from anyone else, if you want to remerge this against the latest bk tree, and send them to me again. Again, sorry for the delay. greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel