RE: Kernel bugs found using inspect tool

From: nathan.zook@amd.com
Date: Wed Feb 23 2000 - 11:19:11 EST


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



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:33 EST