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

From: Brian F. G. Bidulock
Date: Thu Jun 08 2006 - 04:58:24 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.
> > >

Another quick check on Intel 630. w/o -fno-reorder-blocks: code increased 2% in
size; performance increased 2% per hyperthread; code still as readable with
objdump -S -d. Rather marginal one way or the other.

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