Re: [PATCH] ptmx: adding handshake support

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <postmaster@...>
Cc: <linux-kernel@...>
Date: Sunday, March 30, 2008 - 8:16 am

On Sun, 30 Mar 2008 14:09:48 +0200
postmaster@van-ginkel.eu wrote:


Really you want to be working against 2.6.25-rc5-mm1 or later as there
are big changes in the tty layer pending, some of which affect the
locking on stuff like this.


You create a lock but don't use it. Also btw the -mm tty layer has a
ctrl_lock you could use instead.


Could be one value using the existing bit masks.


Crashes on allocation failure


Always true


Use the mcr/msr bits as is and you don't need this mess


Ditto


That may cause wakeups, open, hangup etc to occur - does that need to be
considered here.


Use a proper value as I said before.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] ptmx: adding handshake support, sander van ginkel, (Tue Mar 11, 4:28 pm)
Re: [PATCH] ptmx: adding handshake support, Alan Cox, (Sun Mar 30, 8:16 am)
Re: [PATCH] ptmx: adding handshake support, sander van ginkel, (Sun Apr 13, 11:42 am)
Re: [PATCH] ptmx: adding handshake support, Alan Cox, (Sun Apr 13, 6:35 pm)
Re: [PATCH] ptmx: adding handshake support, sander van ginkel, (Mon Apr 14, 4:39 pm)
Re: [PATCH] ptmx: adding handshake support, Alan Cox, (Tue Apr 29, 2:01 pm)
Re: [PATCH] ptmx: adding handshake support, Randy Dunlap, (Mon Apr 14, 4:02 pm)
Re: [PATCH] ptmx: adding handshake support, sander van ginkel, (Sun Mar 30, 8:48 am)