Re: [patch] include/asm/page.h (one less loop) (2.4.0-test6-pre9)

From: Justin (jguyett@andrew.cmu.edu)
Date: Wed Aug 09 2000 - 18:06:08 EST


On Wed, 9 Aug 2000, Matthew Wilcox wrote:

> On Wed, Aug 09, 2000 at 04:43:20PM -0400, Justin wrote:
> > given sufficient fuzz this should work for any asm-*/page.h
>
> have you actually checked the code output by this loop?
>
> while () { ... } tends to be less efficient than do { ... } while ()

that was stupid of me, I shouldn't have assumed that the patch would
generate better code based on my [lack of] knowledge of gcc, and
especially not on other architectures.

justin

-
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 : Tue Aug 15 2000 - 21:00:20 EST