lkml.org 
[lkml]   [2009]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/2] perf tools: allow building for ARM
    On Fri, Dec 11, 2009 at 12:26:57PM +0100, Mikael Pettersson wrote:
    > The correct solution is to invoke a kernel-exported CPU-specific helper
    > function in the ARM kernel helper page.
    >
    > I see a __kuser_memory_barrier entry there which maps to smp_dmb.

    That is indeed the correct way to do this - otherwise user programs will
    be tied to particular architecture versions, and either an undefined
    instruction fault will happen, or worse, the desired effect will not
    happen.


    \
     
     \ /
      Last update: 2009-12-11 22:25    [W:3.427 / U:0.316 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site