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: Dmitry Torokhov <dmitry.torokhov@...>
Cc: Kay Sievers <kay.sievers@...>, 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 - 6:09 pm

On Mon, Mar 31, 2008 at 04:57:36PM -0400, Dmitry Torokhov wrote:

Yes, that's the proper behavior anyway, as you are passing off a pointer
to a device, you need to keep the reference to that device around until
you are finished with it.

I'm amazed that this wasn't causing a problem before the kobject change,
as this should have been needed there as well.  Would running with slab
debugging cause it to hit then?


Acked-by: Greg Kroah-Hartman <gregkh@suse.de>

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] evdev: Release eventual input device grabs when ..., Greg KH, (Mon Mar 31, 6:09 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