Skip to contentSkip to conversation

driver core: do not wait unnecessarily in driver_unregister()

DISCUSSION Greg KH 1 participant 1 message Apr 2, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Greg KH

author
#1 lore raw
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 -0700

driver 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.

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