driver core: do not wait unnecessarily in driver_unregister()
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Linux Kernel Mailing List
Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f5ef2abcbeb5b0be23f7cc610a024b2406e3d8e6 Commit: f5ef2abcbeb5b0be23f7cc610a024b2406e3d8e6 Parent: 755948cfca16c71b16e8ff4a9d4dd31b1c0bf923 Author: Linus Torvalds <[email protected]> AuthorDate: Sun Apr 1 10:54:13 2007 -0700 Committer: Linus Torvalds <[email protected]> CommitDate: Sun Apr 1 10:54:13 2007 -0700driver core: do not wait unnecessarily in
driver_unregister()
Quoted 7 lines
Ingo reported that built-in drivers suffered bootup hangs with certain driver unregistry sequences, due to sysfs breakage.
Do the minimal fix for v2.6.21: only wait if the driver is a module.
Acked-by Ingo Molnar <[email protected]>Signed-off-by Linus Torvalds <[email protected]>
Linus, please revert this patch. It merely papers over the fact that there is a reference count still around that never gets released. Kay's patch that Andrew just forwarded to you fixes the real problem, which other people had noticed and this patch does not fix.
thanks,
greg k-h