Re: [PATCH RFC V4 09/10] x86/jump_label: use GENERIC_NOP5_ATOMICinstead of jmp5 +0

From: H. Peter Anvin
Date: Thu Oct 13 2011 - 11:41:37 EST


On 10/12/2011 05:08 PM, Jeremy Fitzhardinge wrote:
> From: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
>
> GENERIC_NOP5_ATOMIC should make a better nop.
>

On 32 bits, yes. On 64 bits you should use P6_NOP5_ATOMIC.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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