Thread (4 messages) 4 messages, 2 authors, 2007-03-09

Re: Fix locking in mousedev

From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
Date: 2007-03-09 20:54:43
Also in: lkml

On 3/9/07, Pete Zaitcev [off-list ref] wrote:
On Fri, 9 Mar 2007 09:28:49 -0500, "Dmitry Torokhov" [off-list ref] wrote:
quoted
On 2/28/07, Pete Zaitcev [off-list ref] wrote:
quoted
quoted
Dmitry, please consider getting rid of the list of handles entirely.
The other major user is drivers/char/keyboard.c.
I agree that handlers should not access h_list nad use their own
private lists instead. However input core still needs that list to
maintain its books.
Hmm. So it appears that my patch wastes 2 ulongs per input handle
then, in the name of preventing oopses. OK.
Think about the time when everyone switches to evdev-based input
drivers. Then we can forget about mousedev wasting some extra memory
;)

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help