lkml.org 
[lkml]   [2011]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] x86: Make variable_test_bit reference all of *addr
Date
"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


\
 
 \ /
  Last update: 2011-10-07 04:05    [from the cache]
©2003-2011 Jasper Spaans