From: Alan Cox <alan@redhat.com>
To: Paul Fulghum <paulkf@microgate.com>
Cc: Alan Cox <alan@redhat.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: PATCH: tty locking for 2.6.9rc2
Date: Wed, 15 Sep 2004 16:08:56 -0400 [thread overview]
Message-ID: <20040915200856.GA8000@devserv.devel.redhat.com> (raw)
In-Reply-To: <1095274482.2686.16.camel@deimos.microgate.com>
On Wed, Sep 15, 2004 at 01:54:42PM -0500, Paul Fulghum wrote:
> There are 6 places where this needs to be done:
> 3 in tty_set_ldisc
> 2 in release_dev
> 1 in initialize_tty_struct
Argh I thought I'd fixed that after I turned it into one refcount field
from two.
> Switching back to N_TTY ldisc in release_dev() of tty_io.c
> takes a global ldisc reference (tty_ldisc_get) but
> then frees the tty structure. This causes a reference
> leak (global ldisc refcount) on N_TTY because there
> is no corresponding tty_ldisc_put.
Thanks will look
next prev parent reply other threads:[~2004-09-15 20:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-14 16:34 PATCH: tty locking for 2.6.9rc2 Alan Cox
2004-09-15 16:26 ` Paul Fulghum
2004-09-15 16:30 ` Alan Cox
2004-09-15 18:54 ` Paul Fulghum
2004-09-15 20:08 ` Alan Cox [this message]
2004-09-15 20:23 ` Paul Fulghum
2004-09-15 20:40 ` Alan Cox
2004-09-15 20:53 ` Paul Fulghum
-- strict thread matches above, loose matches on Subject: below --
2004-09-24 0:36 Ulisses
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=20040915200856.GA8000@devserv.devel.redhat.com \
--to=alan@redhat.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulkf@microgate.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.