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


    \
     
     \ /
      Last update: 2011-10-07 05:17    [W:0.023 / U:29.972 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site