[LAD] concurrent access on smp

Emanuel Rumpf xbran at web.de
Mon Oct 22 00:34:01 UTC 2012


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 ?


More information about the Linux-audio-dev mailing list