All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Fulghum <paulkf@microgate.com>
To: Alan Cox <alan@redhat.com>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: PATCH: tty drivers take two
Date: 16 Sep 2004 10:05:52 -0500	[thread overview]
Message-ID: <1095347152.2006.17.camel@deimos.microgate.com> (raw)
In-Reply-To: <20040916143057.GA15163@devserv.devel.redhat.com>

On Thu, 2004-09-16 at 09:30, Alan Cox wrote:
> - Switch rocket to tty_wakeup()
> - Switch mxser to ldisc/tty_wakeup()
> - Fix moxa to ldisc/tty_wakeup()
> - Fix riscom8 to ldisc/tty_wakeup
> - Amiserial to ldisc/tty_wakeup

Alan:

I was applying the ldisc changes
to the synclink drivers and had a question
regarding the tty_wakeup() helper.

>From what I see, all drivers who call tty_wakeup()
also do wake_up_interruptible(&tty->write_wait);
at the same time.

Would it be reasonable to add that to the
helper and remove it from the individual drivers.

In my first pass on the synclink drivers (before
I saw the new tty_wakeup helper), I created
a write_wakeup wrapper that does the same thing
as tty_wakeup but also moved
wake_up_interruptible(&tty->write_wait);
into the wrapper. This works for me.

-- 
Paul Fulghum
paulkf@microgate.com


  reply	other threads:[~2004-09-16 15:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-16 14:30 PATCH: tty drivers take two Alan Cox
2004-09-16 15:05 ` Paul Fulghum [this message]
2004-09-16 16:45   ` Alan Cox
2004-09-16 17:37     ` Paul Fulghum
2004-09-16 15:33 ` Diego Calleja
2004-09-16 19:38 ` Paul Fulghum
2004-09-16 20:02   ` Alan Cox

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=1095347152.2006.17.camel@deimos.microgate.com \
    --to=paulkf@microgate.com \
    --cc=akpm@osdl.org \
    --cc=alan@redhat.com \
    --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 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.