lkml.org 
[lkml]   [2003]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: BUGed to death
>  > It is questionable.  Since even in core kernel code there are
> > many places with
> > if (cond)
> > BUG();
> > rather than
> > BUG_ON(cond);
> > it may be worth seeing if converting them makes a difference
> > (increases code size though).
>
> The spinlock code sticks out as a possible good target.
> Any takers for benchmarking ?

I can try that ... However, do I have to use gcc > 3 to see anything?
I had some vague recollection that unlikely() doesn't do much for gcc 2.95,
is that correct?

M.


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:2.360 / U:0.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site