Re: AGP bogosities

From: Dmitry Torokhov
Date: Fri Mar 11 2005 - 18:00:02 EST


On Fri, 11 Mar 2005 17:42:46 -0500, Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:
> Hi,
>
> On Sat, 12 Mar 2005 07:18:19 +0900, OGAWA Hirofumi
> <hirofumi@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > + if (!atomic_read(v)) {
> > + printk("BUG: atomic counter underflow at:\n");
> > + dump_stack();
> > + }
>
> I wonder if adding "unlikely" might be beneficial here.

Oh, it's just a debugging patch, nevermind...

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