[LAD] concurrent access on smp

From: Emanuel Rumpf <xbran@email-addr-hidden>
Date: Mon Oct 22 2012 - 03:34:01 EEST

Hi

With some threads running on different CPU,
accessing a shared pointer (in RAM) atomically (with gcc atomic methods)

my current understanding is:
- each cpu has its own cache line
- which is updated on every atomic read/write operation

1. is that applicable ?

2. is there a faster or more convenient method, such as
storing the pointer in fast register shared among different cpu ?

-- 
E.R.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Oct 22 04:15:03 2012

This archive was generated by hypermail 2.1.8 : Mon Oct 22 2012 - 04:15:03 EEST