Re: aa-160-lru_release_check

Andrew Morton (akpm@zip.com.au)
Wed, 20 Mar 2002 11:28:36 -0800


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/