Messages in this thread | | | Subject | Re: [PATCH] x86: Make variable_test_bit reference all of *addr | From | "" <> | Date | Thu, 06 Oct 2011 20:13:38 -0700 |
| |
Memory clobbers are universal producers, not consumers.
Andi Kleen <andi@firstfloor.org> wrote:
>"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
-- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
| |