Re: [PATCH] x86: Make variable_test_bit reference all of *addr

From: hpanvin@xxxxxxxxx
Date: Thu Oct 06 2011 - 23:14:35 EST

Memory clobbers are universal producers, not consumers.

Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

>"hpanvin@xxxxxxxxx" <hpa@xxxxxxxxx> writes:
>> This is concerning... the kernel relies heavily on asm volatile being
>a universal memory consumer. If that is suddenly broken, we are f***
>in many, many, MANY places in the kernel all of a sudden!
>I don't think that's true. We generally add "memory" clobbers for this
>purpose. asm volatile just means "don't move"
>Just this one doesn't have it for unknown reasons (someone
>ak@xxxxxxxxxxxxxxx -- Speaking for myself only

Sent from my Android phone with K-9 Mail. Please excuse my brevity.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at