lkml.org 
[lkml]   [2000]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [bugfix] SMP, shm-2.3.52-A0
    Manfred Spraul wrote:
    >
    > From: "Andrew Morton" <morton@nortelnetworks.com>
    > >
    > > Prevent this from ever happening again....
    > I would love to see a kassert() macro in the kernel, but

    Most assuredly. Strong assertion usage can save _months_.

    > > +
    > > + KASSERT(spin_is_locked(&kernel_flag));
    > >
    > Did you actually test your patch?

    Well, yes, for SMP only. It was kinda tongue-in-cheek. A proper
    framework gets a lot more sophisticated that that one.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:57    [W:0.021 / U:0.636 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site