login
Header Space

 
 

Re: [PATCH] evdev: Release eventual input device grabs when getting disconnected

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg KH <greg@...>
Cc: Linus Torvalds <torvalds@...>, Bj?rn Steinbrink <B.Steinbrink@...>, Arjan van de Ven <arjan@...>, Linux Kernel Mailing List <linux-kernel@...>, Johannes Berg <johannes@...>, Jiri Kosina <jkosina@...>
Date: Monday, March 31, 2008 - 2:01 pm

On Mon, Mar 31, 2008 at 10:28:13AM -0700, Greg KH wrote:

Greg, please look at the change again. Before kobject_put(kobj->parent)
was done in kobject_cleanup() and so the parent would only be freed when
all its children are gone. Now parent is deleted early, even if its
children are still referenced by other users. This is lifetime rule
change and should really be announced as such.

If this change it intentional and is here to stay then I will just grab
the references myself, although I wonder what else might be broken by
it.

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

Messages in current thread:
Re: [PATCH] evdev: Release eventual input device grabs when ..., Dmitry Torokhov, (Mon Mar 31, 2:01 pm)
Re: [PATCH] evdev: Release eventual input device grabs when ..., Benjamin Herrenschmidt, (Mon Mar 31, 7:12 pm)
Re: [PATCH] evdev: Release eventual input device grabs when ..., Benjamin Herrenschmidt, (Mon Mar 31, 9:01 pm)
speck-geostationary