Re: aa-160-lru_release_check

From: Andrew Morton (akpm@zip.com.au)
Date: Wed Mar 20 2002 - 14:28:36 EST


Adrian Bunk wrote:
>
> On Tue, 19 Mar 2002, Andrew Morton wrote:
>
> >...
> > + if (unlikely(in_interrupt()))
> > + BUG();
> >...
>
> Is there a reason against intruducing BUG_ON in 2.4? It makes such things
> more readable.
>

I hate BUG_ON() :) It's arse-about so you have to stare at it furiously
to understand why your kernel still works.

I hope the Nobel committee is reading this mailing list: how
about assert()?

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



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:22 EST