[lkml]   [2004]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.6.5-rc3-mm1
    Greg KH <> wrote:
    > On Tue, Mar 30, 2004 at 02:34:37AM -0800, Andrew Morton wrote:
    > >
    > >
    > >
    > > - Dropped the tty locking fix. As predicted, it deadlocked. I also
    > > reverted the patch from bk-driver-core.patch which is causing this race to
    > > trigger more frequently.
    > Argh, so the only way I'm going to be able to get my little, tiny,
    > simple vc class patch is by fixing all of the tty layer locking code?

    Well the good news is that my test box now oopses on about 2-out-of-3 boot
    attempts. But that gets tiresome.

    > Ugh, that's so mean... :)

    Optimistic, too.

    I'm thinking that this can be fixed from the other direction: just before
    release_dev() calls close (dropping BKL), if tty->count==1, make the
    going-away tty ineligible for concurrent lookups. Do that by setting
    tty->driver->ttys[idx] to NULL. Maybe.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:02    [W:0.020 / U:22.628 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site