Manfred Spraul wrote:
> From: "Andrew Morton" <email@example.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 firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:22 EST