lkml.org 
[lkml]   [2004]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.27-pre2: tg3: there's no WARN_ON in 2.4
Adrian Bunk wrote:
>>
> AFAIR, the -tiny tree already implements some kind of empty
> BUG/PAGE_BUG/WARN_ON macros.
>
> When optimizing for size that way, your suggestion would result in
> bigger code.
>

?!?!?!?!?!

If there are no side effects, my suggestion produces zero code.

> And after a quick view, I haven't seen any WARN_ON users in 2.6 that
> seem to rely on side effects.

Then there should be no size difference, either.

-hpa
-
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 14:03    [W:0.075 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site