Re: [PATCH] x86: percpu_to_op() misses memory and flags clobbers

From: Herbert Xu
Date: Thu Apr 02 2009 - 05:53:23 EST


Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
>
> There's probably not a lot of value in this. The Intel and AMD
> optimisation guides tend to deprecate inc/dec in favour of using
> add/sub, because the former can cause pipeline stalls due to its partial
> flags update.

Is this still the case on the latest Intel CPUs?

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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/