[PATCH v2] Adding smp_acquire__after_ctrl_dep barrier
From: Elena Reshetova
Date: Wed Jan 30 2019 - 06:19:01 EST
Changes in v2:
- hopefully fixed all (at least to my eye and to checkpatch)
errors on whitespacing, etc.
- changed text on ACQUIRE guarantees pointed by Andrea and
Dmitry
- removed mentioning of control dependency on dec/sub_and_test
variants
I also have to send it now with a cover letter, because I think
it is Intel mailer that malformed the patch last time for god knows
what reason...
Elena Reshetova (1):
refcount_t: add ACQUIRE ordering on success for dec(sub)_and_test
variants
Documentation/core-api/refcount-vs-atomic.rst | 24 +++++++++++++++++++++---
arch/x86/include/asm/refcount.h | 22 ++++++++++++++++++----
lib/refcount.c | 18 +++++++++++++-----
3 files changed, 52 insertions(+), 12 deletions(-)
--
2.7.4