[lkml]   [2007]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: checkpatch, a patch checking script.
    On Sat, Apr 28, 2007 at 11:15:04AM +0100, Alan Cox wrote:
    > > > The warning is bogus imho. How do you write recovery code for internal
    > > > broken code logic?
    > >
    > > Yes, it is marginal. But people do very often reach for BUG_ON() where
    > > they could have at least partly recovered in some fashion - enough for the
    > > info to hit the logs so we have a better chance of fixing it.
    > At least one way to handle BUG_ON() type situations more cleanly (for
    > some anyway) is to fake a hot-unplug/plug event. Thats something that

    That would have a high risk of deadlock on some lost lock.

    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: 2007-04-28 13:21    [W:0.018 / U:1.036 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site