Re: [RFC] kobject: add kobject_init_ng, kobject_add_ng, and kobject_init_and_add functions

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg KH <greg@...>
Cc: Alan Stern <stern@...>, Kay Sievers <kay.sievers@...>, Kernel development list <linux-kernel@...>, Jonathan Corbet <corbet@...>, Randy Dunlap <randy.dunlap@...>
Date: Tuesday, December 4, 2007 - 6:01 am

On Mon, 3 Dec 2007 11:06:26 -0800,
Greg KH <greg@kroah.com> wrote:


Hm, if I'm not completely confused, kobject_del() just gives up the
extra reference obtained by kobject_add(). That leaves the initial
reference we got via kobject_init(_ng)(). If we want to clean up the
memory, we need to give up that reference as well.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] kobject_init changes - take 2, Greg KH, (Fri Nov 30, 9:00 pm)
Re: [RFC] kobject: add kobject_init_ng, kobject_add_ng, and ..., Cornelia Huck, (Tue Dec 4, 6:01 am)
[RFC] kobject: the new functions in use, Greg KH, (Fri Nov 30, 9:02 pm)