[lkml]   [2004]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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