€•™‰Œsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ//translations/zh_CN/core-api/refcount-vs-atomic”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/zh_TW/core-api/refcount-vs-atomic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/it_IT/core-api/refcount-vs-atomic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/ja_JP/core-api/refcount-vs-atomic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/ko_KR/core-api/refcount-vs-atomic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/pt_BR/core-api/refcount-vs-atomic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ//translations/sp_SP/core-api/refcount-vs-atomic”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒ#refcount_t API compared to atomic_t”h]”hŒ#refcount_t API compared to atomic_t”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒI/var/lib/git/docbuild/linux/Documentation/core-api/refcount-vs-atomic.rst”h´KubhŒtopic”“”)�”}”(hhh]”hŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hhh]”hŒ paragraph”“”)�”}”(hhh]”hŒ reference”“”)�”}”(hhh]”hŒ Introduction”…”�”}”(hháh²hh³Nh´Nubah}”(h]”Œid1”ah ]”h"]”h$]”h&]”Œrefid”Œ introduction”uh1hßhhÜubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhh×ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhhÒubhÖ)�”}”(hhh]”hÛ)�”}”(hhh]”hà)�”}”(hhh]”hŒ!Relevant types of memory ordering”…”�”}”(hjh²hh³Nh´Nubah}”(h]”Œid2”ah ]”h"]”h$]”h&]”Œrefid”Œ!relevant-types-of-memory-ordering”uh1hßhjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhhýubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhhÒubhÖ)�”}”(hhh]”(hÛ)�”}”(hhh]”hà)�”}”(hhh]”hŒComparison of functions”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”Œid3”ah ]”h"]”h$]”h&]”Œrefid”Œcomparison-of-functions”uh1hßhj"ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhjubhÑ)�”}”(hhh]”(hÖ)�”}”(hhh]”hÛ)�”}”(hhh]”hà)�”}”(hhh]”hŒ/case 1) - non-“Read/Modify/Writeâ€� (RMW) ops”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”Œid4”ah ]”h"]”h$]”h&]”Œrefid”Œ$case-1-non-read-modify-write-rmw-ops”uh1hßhjAubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhj>ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj;ubhÖ)�”}”(hhh]”hÛ)�”}”(hhh]”hà)�”}”(hhh]”hŒEcase 2) - non-“Read/Modify/Writeâ€� (RMW) ops with release ordering”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”Œid5”ah ]”h"]”h$]”h&]”Œrefid”Œ:case-2-non-read-modify-write-rmw-ops-with-release-ordering”uh1hßhjcubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhj`ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj;ubhÖ)�”}”(hhh]”hÛ)�”}”(hhh]”hà)�”}”(hhh]”hŒ2case 3) - increment-based ops that return no value”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”Œid6”ah ]”h"]”h$]”h&]”Œrefid”Œ/case-3-increment-based-ops-that-return-no-value”uh1hßhj…ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhj‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj;ubhÖ)�”}”(hhh]”hÛ)�”}”(hhh]”hà)�”}”(hhh]”hŒ6case 4) - decrement-based RMW ops that return no value”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”Œid7”ah ]”h"]”h$]”h&]”Œrefid”Œ3case-4-decrement-based-rmw-ops-that-return-no-value”uh1hßhj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhj¤ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj;ubhÖ)�”}”(hhh]”hÛ)�”}”(hhh]”hà)�”}”(hhh]”hŒ5case 5) - increment-based RMW ops that return a value”…”�”}”(hjÌh²hh³Nh´Nubah}”(h]”Œid8”ah ]”h"]”h$]”h&]”Œrefid”Œ2case-5-increment-based-rmw-ops-that-return-a-value”uh1hßhjÉubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhjÆubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj;ubhÖ)�”}”(hhh]”hÛ)�”}”(hhh]”hà)�”}”(hhh]”hŒKcase 6) - increment-based RMW ops with acquire ordering that return a value”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”Œid9”ah ]”h"]”h$]”h&]”Œrefid”ŒHcase-6-increment-based-rmw-ops-with-acquire-ordering-that-return-a-value”uh1hßhjëubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhjèubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj;ubhÖ)�”}”(hhh]”hÛ)�”}”(hhh]”hà)�”}”(hhh]”hŒEcase 7) - generic dec/sub decrement-based RMW ops that return a value”…”�”}”(hjh²hh³Nh´Nubah}”(h]”Œid10”ah ]”h"]”h$]”h&]”Œrefid”ŒBcase-7-generic-dec-sub-decrement-based-rmw-ops-that-return-a-value”uh1hßhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj;ubhÖ)�”}”(hhh]”hÛ)�”}”(hhh]”hà)�”}”(hhh]”hŒ9case 8) other decrement-based RMW ops that return a value”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”Œid11”ah ]”h"]”h$]”h&]”Œrefid”Œ8case-8-other-decrement-based-rmw-ops-that-return-a-value”uh1hßhj/ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhj,ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj;ubhÖ)�”}”(hhh]”hÛ)�”}”(hhh]”hà)�”}”(hhh]”hŒcase 9) - lock-based RMW”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”Œid12”ah ]”h"]”h$]”h&]”Œrefid”Œcase-9-lock-based-rmw”uh1hßhjQubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚhjNubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj;ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÐhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÕhhÒubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÐhhÍh²hh³Nh´Nubah}”(h]”Œcontents”ah ]”(Œcontents”Œlocal”eh"]”Œcontents”ah$]”h&]”uh1hËh³hÊh´Khh·h²hubh¶)�”}”(hhh]”(h»)�”}”(hŒ Introduction”h]”hŒ Introduction”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefid”hêuh1hºhjŒh²hh³hÊh´KubhÛ)�”}”(hXThe goal of refcount_t API is to provide a minimal API for implementing an object's reference counters. While a generic architecture-independent implementation from lib/refcount.c uses atomic operations underneath, there are a number of differences between some of the ``refcount_*()`` and ``atomic_*()`` functions with regards to the memory ordering guarantees. This document outlines the differences and provides respective examples in order to help maintainers validate their code against the change in these memory ordering guarantees.”h]”(hXThe goal of refcount_t API is to provide a minimal API for implementing an object’s reference counters. While a generic architecture-independent implementation from lib/refcount.c uses atomic operations underneath, there are a number of differences between some of the ”…”�”}”(hjžh²hh³Nh´NubhŒliteral”“”)�”}”(hŒ``refcount_*()``”h]”hŒ refcount_*()”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hjžubhŒ and ”…”�”}”(hjžh²hh³Nh´Nubj§)�”}”(hŒ``atomic_*()``”h]”hŒ atomic_*()”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hjžubhŒë functions with regards to the memory ordering guarantees. This document outlines the differences and provides respective examples in order to help maintainers validate their code against the change in these memory ordering guarantees.”…”�”}”(hjžh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K hjŒh²hubhÛ)�”}”(hŒThe terms used through this document try to follow the formal LKMM defined in tools/memory-model/Documentation/explanation.txt.”h]”hŒThe terms used through this document try to follow the formal LKMM defined in tools/memory-model/Documentation/explanation.txt.”…”�”}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KhjŒh²hubhÛ)�”}”(hŒ†memory-barriers.txt and atomic_t.txt provide more background to the memory ordering in general and for atomic operations specifically.”h]”hŒ†memory-barriers.txt and atomic_t.txt provide more background to the memory ordering in general and for atomic operations specifically.”…”�”}”(hjàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KhjŒh²hubeh}”(h]”hðah ]”h"]”Œ introduction”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒ!Relevant types of memory ordering”h]”hŒ!Relevant types of memory ordering”…”�”}”(hjøh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j�j uh1hºhjõh²hh³hÊh´KubhŒnote”“”)�”}”(hŒäThe following section only covers some of the memory ordering types that are relevant for the atomics and reference counters and used through this document. For a much broader picture please consult memory-barriers.txt document.”h]”hÛ)�”}”(hŒäThe following section only covers some of the memory ordering types that are relevant for the atomics and reference counters and used through this document. For a much broader picture please consult memory-barriers.txt document.”h]”hŒäThe following section only covers some of the memory ordering types that are relevant for the atomics and reference counters and used through this document. For a much broader picture please consult memory-barriers.txt document.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjõh²hh³hÊh´NubhÛ)�”}”(hX‹In the absence of any memory ordering guarantees (i.e. fully unordered) atomics & refcounters only provide atomicity and program order (po) relation (on the same CPU). It guarantees that each ``atomic_*()`` and ``refcount_*()`` operation is atomic and instructions are executed in program order on a single CPU. This is implemented using READ_ONCE()/WRITE_ONCE() and compare-and-swap primitives.”h]”(hŒÀIn the absence of any memory ordering guarantees (i.e. fully unordered) atomics & refcounters only provide atomicity and program order (po) relation (on the same CPU). It guarantees that each ”…”�”}”(hj h²hh³Nh´Nubj§)�”}”(hŒ``atomic_*()``”h]”hŒ atomic_*()”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hj ubhŒ and ”…”�”}”(hj h²hh³Nh´Nubj§)�”}”(hŒ``refcount_*()``”h]”hŒ refcount_*()”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hj ubhŒ¨ operation is atomic and instructions are executed in program order on a single CPU. This is implemented using READ_ONCE()/WRITE_ONCE() and compare-and-swap primitives.”…”�”}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K!hjõh²hubhÛ)�”}”(hXÉA strong (full) memory ordering guarantees that all prior loads and stores (all po-earlier instructions) on the same CPU are completed before any po-later instruction is executed on the same CPU. It also guarantees that all po-earlier stores on the same CPU and all propagated stores from other CPUs must propagate to all other CPUs before any po-later instruction is executed on the original CPU (A-cumulative property). This is implemented using smp_mb().”h]”hXÉA strong (full) memory ordering guarantees that all prior loads and stores (all po-earlier instructions) on the same CPU are completed before any po-later instruction is executed on the same CPU. It also guarantees that all po-earlier stores on the same CPU and all propagated stores from other CPUs must propagate to all other CPUs before any po-later instruction is executed on the original CPU (A-cumulative property). This is implemented using smp_mb().”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K)hjõh²hubhÛ)�”}”(hX„A RELEASE memory ordering guarantees that all prior loads and stores (all po-earlier instructions) on the same CPU are completed before the operation. It also guarantees that all po-earlier stores on the same CPU and all propagated stores from other CPUs must propagate to all other CPUs before the release operation (A-cumulative property). This is implemented using smp_store_release().”h]”hX„A RELEASE memory ordering guarantees that all prior loads and stores (all po-earlier instructions) on the same CPU are completed before the operation. It also guarantees that all po-earlier stores on the same CPU and all propagated stores from other CPUs must propagate to all other CPUs before the release operation (A-cumulative property). This is implemented using smp_store_release().”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K1hjõh²hubhÛ)�”}”(hXWAn ACQUIRE memory ordering guarantees that all post loads and stores (all po-later instructions) on the same CPU are completed after the acquire operation. It also guarantees that all po-later stores on the same CPU must propagate to all other CPUs after the acquire operation executes. This is implemented using smp_acquire__after_ctrl_dep().”h]”hXWAn ACQUIRE memory ordering guarantees that all post loads and stores (all po-later instructions) on the same CPU are completed after the acquire operation. It also guarantees that all po-later stores on the same CPU must propagate to all other CPUs after the acquire operation executes. This is implemented using smp_acquire__after_ctrl_dep().”…”�”}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K9hjõh²hubhÛ)�”}”(hXÄA control dependency (on success) for refcounters guarantees that if a reference for an object was successfully obtained (reference counter increment or addition happened, function returned true), then further stores are ordered against this operation. Control dependency on stores are not implemented using any explicit barriers, but rely on CPU not to speculate on stores. This is only a single CPU relation and provides no guarantees for other CPUs.”h]”hXÄA control dependency (on success) for refcounters guarantees that if a reference for an object was successfully obtained (reference counter increment or addition happened, function returned true), then further stores are ordered against this operation. Control dependency on stores are not implemented using any explicit barriers, but rely on CPU not to speculate on stores. This is only a single CPU relation and provides no guarantees for other CPUs.”…”�”}”(hj|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K@hjõh²hubeh}”(h]”jah ]”h"]”Œ!relevant types of memory ordering”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒComparison of functions”h]”hŒComparison of functions”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j�j.uh1hºhj‘h²hh³hÊh´KJubh¶)�”}”(hhh]”(h»)�”}”(hŒ+case 1) - non-"Read/Modify/Write" (RMW) ops”h]”hŒ/case 1) - non-“Read/Modify/Writeâ€� (RMW) ops”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j�jMuh1hºhj¢h²hh³hÊh´KMubhÛ)�”}”(hŒFunction changes:”h]”hŒFunction changes:”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KOhj¢h²hubhŒ block_quote”“”)�”}”(hŒF* atomic_set() --> refcount_set() * atomic_read() --> refcount_read() ”h]”hÑ)�”}”(hhh]”(hÖ)�”}”(hŒatomic_set() --> refcount_set()”h]”hÛ)�”}”(hjÌh]”hŒatomic_set() --> refcount_set()”…”�”}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KQhjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjÇubhÖ)�”}”(hŒ"atomic_read() --> refcount_read() ”h]”hÛ)�”}”(hŒ!atomic_read() --> refcount_read()”h]”hŒ!atomic_read() --> refcount_read()”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KRhjáubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjÇubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1hÐh³hÊh´KQhjÃubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´KQhj¢h²hubhÛ)�”}”(hŒ"Memory ordering guarantee changes:”h]”hŒ"Memory ordering guarantee changes:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KThj¢h²hubjÂ)�”}”(hŒ* none (both fully unordered) ”h]”hÑ)�”}”(hhh]”hÖ)�”}”(hŒnone (both fully unordered) ”h]”hÛ)�”}”(hŒnone (both fully unordered)”h]”hŒnone (both fully unordered)”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KVhjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjubah}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´KVhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´KVhj¢h²hubeh}”(h]”jSah ]”h"]”Œ+case 1) - non-"read/modify/write" (rmw) ops”ah$]”h&]”uh1hµhj‘h²hh³hÊh´KMubh¶)�”}”(hhh]”(h»)�”}”(hŒAcase 2) - non-"Read/Modify/Write" (RMW) ops with release ordering”h]”hŒEcase 2) - non-“Read/Modify/Writeâ€� (RMW) ops with release ordering”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j�jouh1hºhjGh²hh³hÊh´KZubhÛ)�”}”(hŒFunction changes:”h]”hŒFunction changes:”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K\hjGh²hubjÂ)�”}”(hŒ2* atomic_set_release() --> refcount_set_release() ”h]”hÑ)�”}”(hhh]”hÖ)�”}”(hŒ0atomic_set_release() --> refcount_set_release() ”h]”hÛ)�”}”(hŒ/atomic_set_release() --> refcount_set_release()”h]”hŒ/atomic_set_release() --> refcount_set_release()”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K^hjmubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjjubah}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´K^hjfubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´K^hjGh²hubhÛ)�”}”(hŒ"Memory ordering guarantee changes:”h]”hŒ"Memory ordering guarantee changes:”…”�”}”(hj‘h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K`hjGh²hubjÂ)�”}”(hŒ(* none (both provide RELEASE ordering) ”h]”hÑ)�”}”(hhh]”hÖ)�”}”(hŒ&none (both provide RELEASE ordering) ”h]”hÛ)�”}”(hŒ$none (both provide RELEASE ordering)”h]”hŒ$none (both provide RELEASE ordering)”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´Kbhj¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj£ubah}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´KbhjŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´KbhjGh²hubeh}”(h]”juah ]”h"]”ŒAcase 2) - non-"read/modify/write" (rmw) ops with release ordering”ah$]”h&]”uh1hµhj‘h²hh³hÊh´KZubh¶)�”}”(hhh]”(h»)�”}”(hŒ2case 3) - increment-based ops that return no value”h]”hŒ2case 3) - increment-based ops that return no value”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j�j‘uh1hºhjÑh²hh³hÊh´KfubhÛ)�”}”(hŒFunction changes:”h]”hŒFunction changes:”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KhhjÑh²hubjÂ)�”}”(hŒD* atomic_inc() --> refcount_inc() * atomic_add() --> refcount_add() ”h]”hÑ)�”}”(hhh]”(hÖ)�”}”(hŒatomic_inc() --> refcount_inc()”h]”hÛ)�”}”(hjùh]”hŒatomic_inc() --> refcount_inc()”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´Kjhj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjôubhÖ)�”}”(hŒ atomic_add() --> refcount_add() ”h]”hÛ)�”}”(hŒatomic_add() --> refcount_add()”h]”hŒatomic_add() --> refcount_add()”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´Kkhjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjôubeh}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´Kjhjðubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´KjhjÑh²hubhÛ)�”}”(hŒ"Memory ordering guarantee changes:”h]”hŒ"Memory ordering guarantee changes:”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KmhjÑh²hubjÂ)�”}”(hŒ* none (both fully unordered) ”h]”hÑ)�”}”(hhh]”hÖ)�”}”(hŒnone (both fully unordered) ”h]”hÛ)�”}”(hŒnone (both fully unordered)”h]”hŒnone (both fully unordered)”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KohjGubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjDubah}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´Kohj@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´KohjÑh²hubeh}”(h]”j—ah ]”h"]”Œ2case 3) - increment-based ops that return no value”ah$]”h&]”uh1hµhj‘h²hh³hÊh´Kfubh¶)�”}”(hhh]”(h»)�”}”(hŒ6case 4) - decrement-based RMW ops that return no value”h]”hŒ6case 4) - decrement-based RMW ops that return no value”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j�j³uh1hºhjrh²hh³hÊh´KrubhÛ)�”}”(hŒFunction changes:”h]”hŒFunction changes:”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´Kthjrh²hubjÂ)�”}”(hŒ"* atomic_dec() --> refcount_dec() ”h]”hÑ)�”}”(hhh]”hÖ)�”}”(hŒ atomic_dec() --> refcount_dec() ”h]”hÛ)�”}”(hŒatomic_dec() --> refcount_dec()”h]”hŒatomic_dec() --> refcount_dec()”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´Kvhj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj•ubah}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´Kvhj‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´Kvhjrh²hubhÛ)�”}”(hŒ"Memory ordering guarantee changes:”h]”hŒ"Memory ordering guarantee changes:”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´Kxhjrh²hubjÂ)�”}”(hŒ(* fully unordered --> RELEASE ordering ”h]”hÑ)�”}”(hhh]”hÖ)�”}”(hŒ&fully unordered --> RELEASE ordering ”h]”hÛ)�”}”(hŒ$fully unordered --> RELEASE ordering”h]”hŒ$fully unordered --> RELEASE ordering”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KzhjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjÎubah}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´KzhjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´Kzhjrh²hubeh}”(h]”j¹ah ]”h"]”Œ6case 4) - decrement-based rmw ops that return no value”ah$]”h&]”uh1hµhj‘h²hh³hÊh´Krubh¶)�”}”(hhh]”(h»)�”}”(hŒ5case 5) - increment-based RMW ops that return a value”h]”hŒ5case 5) - increment-based RMW ops that return a value”…”�”}”(hjÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j�jÕuh1hºhjüh²hh³hÊh´K~ubhÛ)�”}”(hŒFunction changes:”h]”hŒFunction changes:”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K€hjüh²hubjÂ)�”}”(hŒh* atomic_inc_not_zero() --> refcount_inc_not_zero() * no atomic counterpart --> refcount_add_not_zero() ”h]”hÑ)�”}”(hhh]”(hÖ)�”}”(hŒ1atomic_inc_not_zero() --> refcount_inc_not_zero()”h]”hÛ)�”}”(hj$h]”hŒ1atomic_inc_not_zero() --> refcount_inc_not_zero()”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K‚hj"ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjubhÖ)�”}”(hŒ2no atomic counterpart --> refcount_add_not_zero() ”h]”hÛ)�”}”(hŒ1no atomic counterpart --> refcount_add_not_zero()”h]”hŒ1no atomic counterpart --> refcount_add_not_zero()”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´Kƒhj9ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjubeh}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´K‚hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´K‚hjüh²hubhÛ)�”}”(hŒ#Memory ordering guarantees changes:”h]”hŒ#Memory ordering guarantees changes:”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K…hjüh²hubjÂ)�”}”(hŒ=* fully ordered --> control dependency on success for stores ”h]”hÑ)�”}”(hhh]”hÖ)�”}”(hŒ;fully ordered --> control dependency on success for stores ”h]”hÛ)�”}”(hŒ:fully ordered --> control dependency on success for stores”h]”hŒ:fully ordered --> control dependency on success for stores”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K‡hjrubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjoubah}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´K‡hjkubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´K‡hjüh²hubj)�”}”(hŒiWe really assume here that necessary ordering is provided as a result of obtaining pointer to the object!”h]”hÛ)�”}”(hŒiWe really assume here that necessary ordering is provided as a result of obtaining pointer to the object!”h]”hŒiWe really assume here that necessary ordering is provided as a result of obtaining pointer to the object!”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K‰hj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjüh²hh³hÊh´Nubeh}”(h]”jÛah ]”h"]”Œ5case 5) - increment-based rmw ops that return a value”ah$]”h&]”uh1hµhj‘h²hh³hÊh´K~ubh¶)�”}”(hhh]”(h»)�”}”(hŒKcase 6) - increment-based RMW ops with acquire ordering that return a value”h]”hŒKcase 6) - increment-based RMW ops with acquire ordering that return a value”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j�j÷uh1hºhjµh²hh³hÊh´KŽubhÛ)�”}”(hŒFunction changes:”h]”hŒFunction changes:”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K�hjµh²hubjÂ)�”}”(hŒx* atomic_inc_not_zero() --> refcount_inc_not_zero_acquire() * no atomic counterpart --> refcount_add_not_zero_acquire() ”h]”hÑ)�”}”(hhh]”(hÖ)�”}”(hŒ9atomic_inc_not_zero() --> refcount_inc_not_zero_acquire()”h]”hÛ)�”}”(hjÝh]”hŒ9atomic_inc_not_zero() --> refcount_inc_not_zero_acquire()”…”�”}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K’hjÛubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjØubhÖ)�”}”(hŒ:no atomic counterpart --> refcount_add_not_zero_acquire() ”h]”hÛ)�”}”(hŒ9no atomic counterpart --> refcount_add_not_zero_acquire()”h]”hŒ9no atomic counterpart --> refcount_add_not_zero_acquire()”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K“hjòubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjØubeh}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´K’hjÔubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´K’hjµh²hubhÛ)�”}”(hŒ#Memory ordering guarantees changes:”h]”hŒ#Memory ordering guarantees changes:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K•hjµh²hubjÂ)�”}”(hŒ1* fully ordered --> ACQUIRE ordering on success ”h]”hÑ)�”}”(hhh]”hÖ)�”}”(hŒ/fully ordered --> ACQUIRE ordering on success ”h]”hÛ)�”}”(hŒ-fully ordered --> ACQUIRE ordering on success”h]”hŒ-fully ordered --> ACQUIRE ordering on success”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K—hj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj(ubah}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´K—hj$ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´K—hjµh²hubeh}”(h]”jýah ]”h"]”ŒKcase 6) - increment-based rmw ops with acquire ordering that return a value”ah$]”h&]”uh1hµhj‘h²hh³hÊh´KŽubh¶)�”}”(hhh]”(h»)�”}”(hŒEcase 7) - generic dec/sub decrement-based RMW ops that return a value”h]”hŒEcase 7) - generic dec/sub decrement-based RMW ops that return a value”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j�juh1hºhjVh²hh³hÊh´K›ubhÛ)�”}”(hŒFunction changes:”h]”hŒFunction changes:”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K�hjVh²hubjÂ)�”}”(hŒh* atomic_dec_and_test() --> refcount_dec_and_test() * atomic_sub_and_test() --> refcount_sub_and_test() ”h]”hÑ)�”}”(hhh]”(hÖ)�”}”(hŒ1atomic_dec_and_test() --> refcount_dec_and_test()”h]”hÛ)�”}”(hj~h]”hŒ1atomic_dec_and_test() --> refcount_dec_and_test()”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KŸhj|ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjyubhÖ)�”}”(hŒ2atomic_sub_and_test() --> refcount_sub_and_test() ”h]”hÛ)�”}”(hŒ1atomic_sub_and_test() --> refcount_sub_and_test()”h]”hŒ1atomic_sub_and_test() --> refcount_sub_and_test()”…”�”}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K hj“ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjyubeh}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´KŸhjuubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´KŸhjVh²hubhÛ)�”}”(hŒ#Memory ordering guarantees changes:”h]”hŒ#Memory ordering guarantees changes:”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K¢hjVh²hubjÂ)�”}”(hŒD* fully ordered --> RELEASE ordering + ACQUIRE ordering on success ”h]”hÑ)�”}”(hhh]”hÖ)�”}”(hŒBfully ordered --> RELEASE ordering + ACQUIRE ordering on success ”h]”hÛ)�”}”(hŒ@fully ordered --> RELEASE ordering + ACQUIRE ordering on success”h]”hŒ@fully ordered --> RELEASE ordering + ACQUIRE ordering on success”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K¤hjÌubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjÉubah}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´K¤hjÅubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´K¤hjVh²hubeh}”(h]”jah ]”h"]”ŒEcase 7) - generic dec/sub decrement-based rmw ops that return a value”ah$]”h&]”uh1hµhj‘h²hh³hÊh´K›ubh¶)�”}”(hhh]”(h»)�”}”(hŒ9case 8) other decrement-based RMW ops that return a value”h]”hŒ9case 8) other decrement-based RMW ops that return a value”…”�”}”(hjúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j�j;uh1hºhj÷h²hh³hÊh´K¨ubhÛ)�”}”(hŒFunction changes:”h]”hŒFunction changes:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´Kªhj÷h²hubjÂ)�”}”(hŒz* no atomic counterpart --> refcount_dec_if_one() * ``atomic_add_unless(&var, -1, 1)`` --> ``refcount_dec_not_one(&var)`` ”h]”hÑ)�”}”(hhh]”(hÖ)�”}”(hŒ/no atomic counterpart --> refcount_dec_if_one()”h]”hÛ)�”}”(hjh]”hŒ/no atomic counterpart --> refcount_dec_if_one()”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K¬hjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjubhÖ)�”}”(hŒF``atomic_add_unless(&var, -1, 1)`` --> ``refcount_dec_not_one(&var)`` ”h]”hÛ)�”}”(hŒE``atomic_add_unless(&var, -1, 1)`` --> ``refcount_dec_not_one(&var)``”h]”(j§)�”}”(hŒ"``atomic_add_unless(&var, -1, 1)``”h]”hŒatomic_add_unless(&var, -1, 1)”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hj8ubhŒ --> ”…”�”}”(hj8h²hh³Nh´Nubj§)�”}”(hŒ``refcount_dec_not_one(&var)``”h]”hŒrefcount_dec_not_one(&var)”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hj8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K­hj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjubeh}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´K¬hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´K¬hj÷h²hubhÛ)�”}”(hŒ#Memory ordering guarantees changes:”h]”hŒ#Memory ordering guarantees changes:”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K¯hj÷h²hubjÂ)�”}”(hŒ:* fully ordered --> RELEASE ordering + control dependency ”h]”hÑ)�”}”(hhh]”hÖ)�”}”(hŒ8fully ordered --> RELEASE ordering + control dependency ”h]”hÛ)�”}”(hŒ7fully ordered --> RELEASE ordering + control dependency”h]”hŒ7fully ordered --> RELEASE ordering + control dependency”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K±hj‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj†ubah}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´K±hj‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´K±hj÷h²hubj)�”}”(hŒ8atomic_add_unless() only provides full order on success.”h]”hÛ)�”}”(hj¯h]”hŒ8atomic_add_unless() only provides full order on success.”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K³hj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj÷h²hh³hÊh´Nubeh}”(h]”jAah ]”h"]”Œ9case 8) other decrement-based rmw ops that return a value”ah$]”h&]”uh1hµhj‘h²hh³hÊh´K¨ubh¶)�”}”(hhh]”(h»)�”}”(hŒcase 9) - lock-based RMW”h]”hŒcase 9) - lock-based RMW”…”�”}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”j�j]uh1hºhjËh²hh³hÊh´K·ubhÛ)�”}”(hŒFunction changes:”h]”hŒFunction changes:”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K¹hjËh²hubjÂ)�”}”(hŒt* atomic_dec_and_lock() --> refcount_dec_and_lock() * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock() ”h]”hÑ)�”}”(hhh]”(hÖ)�”}”(hŒ1atomic_dec_and_lock() --> refcount_dec_and_lock()”h]”hÛ)�”}”(hjóh]”hŒ1atomic_dec_and_lock() --> refcount_dec_and_lock()”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K»hjñubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjîubhÖ)�”}”(hŒ>atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock() ”h]”hÛ)�”}”(hŒ=atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()”h]”hŒ=atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K¼hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjîubeh}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´K»hjêubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´K»hjËh²hubhÛ)�”}”(hŒ#Memory ordering guarantees changes:”h]”hŒ#Memory ordering guarantees changes:”…”�”}”(hj, h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´K¾hjËh²hubjÂ)�”}”(hŒY* fully ordered --> RELEASE ordering + control dependency + hold spin_lock() on success”h]”hÑ)�”}”(hhh]”hÖ)�”}”(hŒUfully ordered --> RELEASE ordering + control dependency + hold spin_lock() on success”h]”hÛ)�”}”(hŒUfully ordered --> RELEASE ordering + control dependency + hold spin_lock() on success”h]”hŒUfully ordered --> RELEASE ordering + control dependency + hold spin_lock() on success”…”�”}”(hjE h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÚh³hÊh´KÀhjA ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhj> ubah}”(h]”h ]”h"]”h$]”h&]”jÿjuh1hÐh³hÊh´KÀhj: ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÊh´KÀhjËh²hubeh}”(h]”jcah ]”h"]”Œcase 9) - lock-based rmw”ah$]”h&]”uh1hµhj‘h²hh³hÊh´K·ubeh}”(h]”j4ah ]”h"]”Œcomparison of functions”ah$]”h&]”uh1hµhh·h²hh³hÊh´KJubeh}”(h]”Œ#refcount-t-api-compared-to-atomic-t”ah ]”h"]”Œ#refcount_t api compared to atomic_t”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jž Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(jx ju j‰j„jòhðjŽjjp j4jDjSjÎjujoj—jùj¹j²jÛjSjýjôjjÈjAji jcuŒ nametypes”}”(jx ‰j‰‰jò‰jމjp ‰jD‰jΉjo‰jù‰j²‰jS‰jô‰jȉji ‰uh}”(ju h·j„hÍhðjŒjjõj4j‘jSj¢jujGj—jÑj¹jrjÛjüjýjµjjVjAj÷jcjËhêháj jj.j%jMjDjojfj‘jˆj³jªjÕjÌj÷jîjjj;j2j]jTuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”j¬ K s…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.