RE: refcount leak in pci_get_device()?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Zhao, Yu
Date: Friday, August 29, 2008 - 11:20 pm

It's been so for a while, guess since 2.5. I meant to say the pci_remove_bus_device(), not pci_remove_bus(), is used by pci hotplug code. If a device is being plugged off, and some drivers are calling pci_get_dev_by_id() to search something, then the warning might be fired through bus_find_device -> klist_iter_init_node ->kref_get.

Thanks,
Yu

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
refcount leak in pci_get_device()?, Alex Chiang, (Thu Aug 21, 1:19 pm)
Re: refcount leak in pci_get_device()?, Matthew Wilcox, (Thu Aug 21, 1:25 pm)
Re: refcount leak in pci_get_device()?, Greg KH, (Thu Aug 21, 1:40 pm)
Re: refcount leak in pci_get_device()?, Greg KH, (Thu Aug 21, 1:47 pm)
Re: refcount leak in pci_get_device()?, Alex Chiang, (Thu Aug 21, 3:14 pm)
Re: refcount leak in pci_get_device()?, Jesse Barnes, (Thu Aug 21, 3:23 pm)
Re: refcount leak in pci_get_device()?, Henrique de Moraes H ..., (Thu Aug 21, 6:04 pm)
Re: refcount leak in pci_get_device()?, Henrique de Moraes H ..., (Thu Aug 21, 6:09 pm)
RE: refcount leak in pci_get_device()?, Zhao, Yu, (Fri Aug 29, 9:23 pm)
Re: refcount leak in pci_get_device()?, Greg KH, (Fri Aug 29, 10:37 pm)
RE: refcount leak in pci_get_device()?, Zhao, Yu, (Fri Aug 29, 11:20 pm)
[PATCH] PCI Hotplug: fakephp: fix deadlock... again, Alex Chiang, (Mon Sep 1, 11:40 am)
Re: [PATCH] PCI Hotplug: fakephp: fix deadlock... again, Matthew Wilcox, (Mon Sep 1, 5:10 pm)
Re: [PATCH] PCI Hotplug: fakephp: fix deadlock... again, Matthew Wilcox, (Mon Sep 8, 9:27 pm)
Re: [PATCH] PCI Hotplug: fakephp: fix deadlock... again, Andrew Patterson, (Mon Sep 8, 10:32 pm)