Re: [bugfix] SMP, shm-2.3.52-A0

From: Andrew Morton (morton@nortelnetworks.com)
Date: Fri Mar 17 2000 - 10:35:08 EST


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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:22 EST