On Fri, 30 May 2008, Peter Zijlstra wrote: > For -rt we'd need to make the CPU_ops true atomic operations, with that > all the single word stuff works again. Hmmmm.... Okay then this would just mean adding an #ifdef CONFIG_RT to include/asm-x86/percpu.h. > All the multi word stuff (that currently requires preempt-off) must be > converted to a locked version. How would the (now atomic) per cpu ops interact with the locks? I.e. you take the lock for the kmem_cache_cpu structure and then the fastpath tries to perform an atomic update on one of the variables therein? -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html