[lkml]   [2000]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [bugfix] SMP, shm-2.3.52-A0
Manfred Spraul wrote:
> From: "Andrew Morton" <>
> >
> > 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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean