lkml.org 
[lkml]   [2004]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: RCU issue with SELinux (Re: SELINUX performance issues)

    > > + hvalue = atomic_inc_return(&avc_cache.lru_hint) % AVC_CACHE_SLOTS;

    atomic_inc_return() is not implemented on ia32 or x86-64. Is there a
    workaround, or do we need to implement it? (Andi Kleen suggested using
    the xadd instruction and altinstructions for i386).


    - James
    --
    James Morris
    <jmorris@redhat.com>


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:05    [W:0.018 / U:61.476 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site