Messages in this thread | | | Date | Sat, 18 Mar 2000 02:35:08 +1100 | From | "Andrew Morton" <> | Subject | Re: [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/
| |