Messages in this thread | | | Date | Fri, 20 Aug 2004 16:35:47 -0400 (EDT) | From | James Morris <> | Subject | Re: 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/
| |