linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-input@atrey.karlin.mff.cuni.cz
Subject: Re: Fix locking in mousedev
Date: Fri, 9 Mar 2007 15:54:39 -0500	[thread overview]
Message-ID: <d120d5000703091254t350216b3wfb679a53294b0e5a@mail.gmail.com> (raw)
In-Reply-To: <20070309103656.cd681677.zaitcev@redhat.com>

On 3/9/07, Pete Zaitcev <zaitcev@redhat.com> wrote:
> On Fri, 9 Mar 2007 09:28:49 -0500, "Dmitry Torokhov" <dmitry.torokhov@gmail.com> wrote:
> > On 2/28/07, Pete Zaitcev <zaitcev@redhat.com> wrote:
>
> > > 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

      reply	other threads:[~2007-03-09 20:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-28 19:06 Fix locking in mousedev Pete Zaitcev
2007-03-09 14:28 ` Dmitry Torokhov
2007-03-09 18:36   ` Pete Zaitcev
2007-03-09 20:54     ` Dmitry Torokhov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d120d5000703091254t350216b3wfb679a53294b0e5a@mail.gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=linux-input@atrey.karlin.mff.cuni.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zaitcev@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).