[Bug 1910] An option for architecture-specific SMP locks

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Nov 7 18:28:51 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1910

--- Comment #7 from Marta Rybczynska <marta.rybczynska at kalray.eu> 2011-11-07 12:28:50 CST ---
Created attachment 1368
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1368
Addition of flush operations

Here's another possible solution. It works for a compare-and-swap instruction
bypasses cache and does not take into account the cache content. In such case,
we need to flush the cache line after store in the lock variable.

It would be better if we had a _CPU_read_uncached_int() type of function.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list