lkml.org 
[lkml]   [2008]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC][PATCH] tty: remove the BKL in n_tty.c
    From
    Date
    Frederic Weisbecker <fweisbec@gmail.com> writes:
    >
    > +
    > +/*
    > + * This Mutex is used to replace a big kernel lock that protected
    > + * the access to tty->column.
    > + */
    > +static DEFINE_MUTEX(tty_column_mutex);

    I suppose Alan did it already, but the general rule when doing
    such changes is to lock data not code.

    -Andi

    --
    ak@linux.intel.com


    \
     
     \ /
      Last update: 2008-10-13 12:39    [W:0.019 / U:63.832 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site