Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [PATCH] x86: Make variable_test_bit reference all of *addr | Date | Thu, 06 Oct 2011 19:02:20 -0700 |
| |
"hpanvin@gmail.com" <hpa@zytor.com> 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 overoptimizing?)
-Andi
-- ak@linux.intel.com -- Speaking for myself only
| |