Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux