2021 · 14 citations · 36 references
ComputingComputer EngineeringComputer ScienceCompilersFormal MethodsProgramming LanguagesConcurrent ModelingRace Condition VulnerabilitiesCompiler DesignData Race AnalysisData-race FreedomOrdering GuaranteesRelaxed Memory ModelsShared-memory Concurrency Semantics
Local data-race-freedom guarantees, ensuring strong semantics for locations accessed by non-racy instructions, provide a fruitful methodology for modular reasoning in relaxed memory concurrency. We observe that standard compiler optimizations are in inherent conflict with such guarantees in general fully-relaxed memory models. Nevertheless, for a certain strengthening of the promising model by Lee et al. that only excludes relaxed RMW-store reorderings, we establish multiple useful local data-racefreedom guarantees that enhance the programmability aspect of the model.We also demonstrate that the performance price of forbidding these reorderings is insignificant. To the best of our knowledge, these results are the first to identify a model that includes the standard concurrency constructs, supports the efficient mapping of relaxed reads and writes to plain hardware loads and stores, and yet validates several local data-race-freedom guarantees. To gain confidence, our results are fully mechanized in Coq.
36
Jeremy Manson, William Pugh, Sarita V. Adve · 2005 · 732 citations · Full text
Weak ordering—a new definition
Sarita V. Adve · 1998 · 449 citations
Mark Batty, Scott Owens, Susmit Sarkar et al. · 2011 · 267 citations
Mark Batty, Scott Owens, Susmit Sarkar et al. · ACM SIGPLAN Notices · 2011 · 251 citations
Weak ordering---a new definition
Sarita V. Adve · 1990 · 247 citations