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

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Nov 23 14:37:17 UTC 2011


--- Comment #12 from Gedare <gedare at rtems.org> 2011-11-23 08:37:12 CST ---
(In reply to comment #11)
> I expected that someone will bring up one issue with this code: what happens on
> the architectures that actually have the cache operations implemented. But
> maybe it is not an issue, at least now. If so, I'm OK to continue with the code
> from this patch.

I wonder if we are missing some ingredient here to make the story complete. Are
you using the _CPU_cache_flush_1_data_line in your target to do more work than
just flushing a line from the data cache? If your cache_flush_1_data_line does
some cpu-specific locking, then we need a new function and not to abuse an
existing interface. If the cache flush is actually fixing some problem though,
then this patch seems good to me.

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