Re: [PATCH] use unlikely() for current_kernel_time() loop

From: Brian F. G. Bidulock
Date: Thu Jun 08 2006 - 02:59:20 EST


Andi,

On Thu, 08 Jun 2006, Andi Kleen wrote:
>
> Originally because it made assembly too unreadable. Later it was discovered
> it produces smaller code too.
>

Thank you for the explanation. But, this brings to mind two other questions:

Does the option not also make assembly less readable on other architectures?

If one is interested in smaller code, why not use -Os?

Also, does -fno-reorder-blocks actually defeat __builtin_expect()?
(GCC documentation doesn't really say that.)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/