From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
To: "Andrew Morton" <akpm@linux-foundation.org>
Cc: "Soeren Sonnenburg" <kernel@nn7.de>,
"Linux Kernel" <linux-kernel@vger.kernel.org>,
"Jiri Kosina" <jikos@jikos.cz>
Subject: Re: 2.6.23: no more free evdev devices - evdev leak?
Date: Tue, 6 Nov 2007 09:06:16 -0500 [thread overview]
Message-ID: <d120d5000711060606h66adacd8q4c1576f98389bf41@mail.gmail.com> (raw)
In-Reply-To: <20071105191341.9b9dd857.akpm@linux-foundation.org>
On Nov 5, 2007 10:13 PM, Andrew Morton <akpm@linux-foundation.org> wrote:
> On Wed, 31 Oct 2007 16:34:44 +0000 Soeren Sonnenburg <kernel@nn7.de> wrote:
>
> > Dear all,
>
> (cc's added)
>
>
> > whenever I do a suspend resume cycle the input device's numbers are
> > increased until I finally run out of evdev devices. Is this a kernel
> > problem or some userspace program (udev/...) creating new devices all
> > the time?
evdev marks the device slot as free as soon as evdev_disconnect is
called which shoudl be called from input_unregister_device().
Could you please try sticking a printk in
hidinput_disconnect(drivers/hid/hid-input.c) to verify that
input_unregister_device is in fact being called?
--
Dmitry
next prev parent reply other threads:[~2007-11-06 14:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-31 16:34 Soeren Sonnenburg
2007-11-06 3:13 ` Andrew Morton
2007-11-06 14:06 ` Dmitry Torokhov [this message]
2007-11-06 14:52 ` Jiri Kosina
2007-11-11 20:28 ` Soeren Sonnenburg
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=d120d5000711060606h66adacd8q4c1576f98389bf41@mail.gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=jikos@jikos.cz \
--cc=kernel@nn7.de \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®