lkml.org 
[lkml]   [2012]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/3] tty_lock: Localise the lock
    On Fri, May 04, 2012 at 04:54:12PM -0700, Greg KH wrote:
    > On Thu, May 03, 2012 at 10:24:08PM +0100, Alan Cox wrote:
    > > From: Alan Cox <alan@linux.intel.com>
    > >
    > > In each remaining case the tty_lock is associated with a specific tty. This
    > > means we can now lock on a per tty basis. We do need tty_lock_pair() for
    > > the pty case. Uglier but still a step in the right direction.
    > >
    > > Signed-off-by: Alan Cox <alan@linux.intel.com>
    > > Acked-by: Arnd Bergmann <arnd@arndb.de>
    > > ---
    > >
    > > drivers/tty/amiserial.c | 12 ++++----
    > > drivers/tty/cyclades.c | 2 +
    > > drivers/tty/n_r3964.c | 11 ++++---
    > > drivers/tty/pty.c | 23 +++++++++------
    > > drivers/tty/synclink.c | 4 +--
    > > drivers/tty/synclink_gt.c | 4 +--
    > > drivers/tty/synclinkmp.c | 4 +--
    > > drivers/tty/tty_io.c | 67 +++++++++++++++++++++++++++------------------
    > > drivers/tty/tty_ldisc.c | 30 ++++++++++----------
    > > drivers/tty/tty_mutex.c | 60 ++++++++++++++++++++++++++++++----------
    > > drivers/tty/tty_port.c | 6 ++--
    > > include/linux/tty.h | 23 +++++++++------
    > > 12 files changed, 149 insertions(+), 97 deletions(-)
    >
    > You forgot the call in net/bluetooth/rfcomm/tty.c, I'll go fix that
    > up...

    And drivers/tty/serial/crisv10.c and
    drivers/staging/serial/68360serial.c...



    \
     
     \ /
      Last update: 2012-05-05 02:01    [W:0.024 / U:60.688 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site