lkml.org 
[lkml]   [2000]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Kernel bugs found using inspect tool
Date


> -----Original Message-----
> From: Peter T. Breuer [mailto:ptb@it.uc3m.es]
> Sent: Wednesday, February 23, 2000 8:24 AM
> To: almesber@lrc.di.epfl.ch
> Cc: linux kernel
> Subject: Re: Kernel bugs found using inspect tool

> But there are plenty of places in the kernel code where people write
> if ((a == b) || (c == d) || (e < f)) ... It drives me batty, but Linus
> does not seem to mind.
>

With out-of-order execution, note that if((a == b) | (c == d) | (e < f))
runs faster if c, d, e, and f have no side effects--and the parens ARE
required.

Nathan

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

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.052 / U:15.296 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site