Re: [PATCH 0/7] Fixups for duplicate slot names

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alex Chiang <achiang@...>, Kenji Kaneshige <kaneshige.kenji@...>, Matthew Wilcox <matthew@...>, Pierre Ossman <drzeus-list@...>, Jesse Barnes <jbarnes@...>, LKML <linux-kernel@...>, <linux-pci@...>
Date: Thursday, August 7, 2008 - 4:43 am

Hi Alex-san,

Thank you for patches!

I looked at your patches and it looks good. But I have only one
concern about how to allocate/free memory for slot name.

With your change, memory region for slot name will be allocated
by hotplug *controller* driver and it can be freed using kfree()
by hotplug *core* driver (not hotplug controller driver). So all
hotplug controller drivers including drivers implemented in the
future need to take it into account.

I think it will be more robust if we can allocate and free memory
in the same component (maybe hotplug core driver in this case).

Thanks,
Kenji Kaneshige


Alex Chiang wrote:


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

Messages in current thread:
[PATCH 0/7] Fixups for duplicate slot names, Alex Chiang, (Wed Aug 6, 1:07 am)
Re: [PATCH 0/7] Fixups for duplicate slot names, Kenji Kaneshige, (Thu Aug 7, 4:43 am)
Re: [PATCH 0/7] Fixups for duplicate slot names, Alex Chiang, (Thu Aug 7, 1:25 pm)
Re: [PATCH 0/7] Fixups for duplicate slot names, Kenji Kaneshige, (Sun Aug 10, 9:19 pm)