Re: [PATCH v4 03/15] PCI: prevent duplicate slot names

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kenji Kaneshige
Date: Tuesday, October 7, 2008 - 11:00 pm

Alex Chiang wrote:

(snip.)


I think there still remain race condition. The situation I imagine
is as follows, though I might be misunderstanding something.

If pci_slot driver created pci_slot between pci_get_pci_slot() and
pci_create_slot() in pci_hp_register() in the hotplug driver's thread,
pci_rename_slot() would never be called and name specified by pci_slot
driver would be used instead of the one specified by hotplug driver.



You changed exported symbol name. I think it should be made as
an another patch.

Thanks,
Kenji Kaneshige

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

Messages in current thread:
[PATCH v4 00/15] PCI: let the core manage slot names, Alex Chiang, (Fri Oct 3, 4:17 pm)
[PATCH v4 03/15] PCI: prevent duplicate slot names, Alex Chiang, (Fri Oct 3, 4:17 pm)
[PATCH v4 14/15] PCI: Hotplug core: remove 'name', Alex Chiang, (Fri Oct 3, 4:18 pm)
Re: [PATCH v4 03/15] PCI: prevent duplicate slot names, Kenji Kaneshige, (Tue Oct 7, 11:00 pm)
Re: [PATCH v4 00/15] PCI: let the core manage slot names, Kenji Kaneshige, (Tue Oct 7, 11:31 pm)
[01/03] Sample patch for [PATCH v4 02/15] , Kenji Kaneshige, (Tue Oct 7, 11:33 pm)
[02/03] Sample patch for [PATCH v4 03/15], Kenji Kaneshige, (Tue Oct 7, 11:34 pm)
[03/03] Sample patch for [PATCH v4 14/15], Kenji Kaneshige, (Tue Oct 7, 11:36 pm)
Re: [PATCH v4 00/15] PCI: let the core manage slot names, Kenji Kaneshige, (Wed Oct 8, 10:01 pm)