€•(„Œ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/circular-buffers”Œ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/circular-buffers”Œ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/circular-buffers”Œ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/circular-buffers”Œ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/circular-buffers”Œ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/circular-buffers”Œ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/circular-buffers”Œ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ŒCircular Buffers”h]”hŒCircular Buffers”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒG/var/lib/git/docbuild/linux/Documentation/core-api/circular-buffers.rst”h´KubhŒ field_list”“”)”}”(hhh]”(hŒfield”“”)”}”(hhh]”(hŒ field_name”“”)”}”(hŒAuthor”h]”hŒAuthor”…””}”(hh×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhhÒh³hÊh´KubhŒ field_body”“”)”}”(hŒ#David Howells ”h]”hŒ paragraph”“”)”}”(hhéh]”(hŒDavid Howells <”…””}”(hhíh²hh³Nh´NubhŒ reference”“”)”}”(hŒdhowells@redhat.com”h]”hŒdhowells@redhat.com”…””}”(hhöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:dhowells@redhat.com”uh1hôhhíubhŒ>”…””}”(hhíh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Khhçubah}”(h]”h ]”h"]”h$]”h&]”uh1håhhÒubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÐh³hÊh´KhhÍh²hubhÑ)”}”(hhh]”(hÖ)”}”(hŒAuthor”h]”hŒAuthor”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÕhjh³hÊh´Kubhæ)”}”(hŒ*Paul E. McKenney ”h]”hì)”}”(hŒ(Paul E. McKenney ”h]”(hŒPaul E. McKenney <”…””}”(hj1h²hh³Nh´Nubhõ)”}”(hŒpaulmck@linux.ibm.com”h]”hŒpaulmck@linux.ibm.com”…””}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:paulmck@linux.ibm.com”uh1hôhj1ubhŒ>”…””}”(hj1h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Khj-ubah}”(h]”h ]”h"]”h$]”h&]”uh1håhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÐh³hÊh´KhhÍh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËhh·h²hh³hÊh´Kubhì)”}”(hŒ{Linux provides a number of features that can be used to implement circular buffering. There are two sets of such features:”h]”hŒ{Linux provides a number of features that can be used to implement circular buffering. There are two sets of such features:”…””}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K hh·h²hubhŒ block_quote”“”)”}”(hŒÏ(1) Convenience functions for determining information about power-of-2 sized buffers. (2) Memory barriers for when the producer and the consumer of objects in the buffer don't want to share a lock. ”h]”hŒenumerated_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒRConvenience functions for determining information about power-of-2 sized buffers. ”h]”hì)”}”(hŒQConvenience functions for determining information about power-of-2 sized buffers.”h]”hŒQConvenience functions for determining information about power-of-2 sized buffers.”…””}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K hj€ubah}”(h]”h ]”h"]”h$]”h&]”uh1j~hj{ubj)”}”(hŒlMemory barriers for when the producer and the consumer of objects in the buffer don't want to share a lock. ”h]”hì)”}”(hŒkMemory barriers for when the producer and the consumer of objects in the buffer don't want to share a lock.”h]”hŒmMemory barriers for when the producer and the consumer of objects in the buffer don’t want to share a lock.”…””}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Khj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1j~hj{ubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”Œ(”Œsuffix”Œ)”uh1jyhjuubah}”(h]”h ]”h"]”h$]”h&]”uh1jsh³hÊh´K hh·h²hubhì)”}”(hŒßTo use these facilities, as discussed below, there needs to be just one producer and just one consumer. It is possible to handle multiple producers by serialising them, and to handle multiple consumers by serialising them.”h]”hŒßTo use these facilities, as discussed below, there needs to be just one producer and just one consumer. It is possible to handle multiple producers by serialising them, and to handle multiple consumers by serialising them.”…””}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´Khh·h²hubhŒcomment”“”)”}”(hŒ¦Contents: (*) What is a circular buffer? (*) Measuring power-of-2 buffers. (*) Using memory barriers with circular buffers. - The producer. - The consumer.”h]”hŒ¦Contents: (*) What is a circular buffer? (*) Measuring power-of-2 buffers. (*) Using memory barriers with circular buffers. - The producer. - The consumer.”…””}”hjÒsbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jÐhh·h²hh³hÊh´K"ubh¶)”}”(hhh]”(h»)”}”(hŒWhat is a circular buffer?”h]”hŒWhat is a circular buffer?”…””}”(hjåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjâh²hh³hÊh´K$ubhì)”}”(hŒFirst of all, what is a circular buffer? A circular buffer is a buffer of fixed, finite size into which there are two indices:”h]”hŒFirst of all, what is a circular buffer? A circular buffer is a buffer of fixed, finite size into which there are two indices:”…””}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K&hjâh²hubjt)”}”(hŒµ(1) A 'head' index - the point at which the producer inserts items into the buffer. (2) A 'tail' index - the point at which the consumer finds the next item in the buffer. ”h]”jz)”}”(hhh]”(j)”}”(hŒPA 'head' index - the point at which the producer inserts items into the buffer. ”h]”hì)”}”(hŒOA 'head' index - the point at which the producer inserts items into the buffer.”h]”hŒSA ‘head’ index - the point at which the producer inserts items into the buffer.”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K)hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j~hjubj)”}”(hŒTA 'tail' index - the point at which the consumer finds the next item in the buffer. ”h]”hì)”}”(hŒSA 'tail' index - the point at which the consumer finds the next item in the buffer.”h]”hŒWA ‘tail’ index - the point at which the consumer finds the next item in the buffer.”…””}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K,hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j~hjubeh}”(h]”h ]”h"]”h$]”h&]”j¶j·j¸j¹jºj»uh1jyhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jsh³hÊh´K)hjâh²hubhì)”}”(hŒ¢Typically when the tail pointer is equal to the head pointer, the buffer is empty; and the buffer is full when the head pointer is one less than the tail pointer.”h]”hŒ¢Typically when the tail pointer is equal to the head pointer, the buffer is empty; and the buffer is full when the head pointer is one less than the tail pointer.”…””}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K/hjâh²hubhì)”}”(hX$The head index is incremented when items are added, and the tail index when items are removed. The tail index should never jump the head index, and both indices should be wrapped to 0 when they reach the end of the buffer, thus allowing an infinite amount of data to flow through the buffer.”h]”hX$The head index is incremented when items are added, and the tail index when items are removed. The tail index should never jump the head index, and both indices should be wrapped to 0 when they reach the end of the buffer, thus allowing an infinite amount of data to flow through the buffer.”…””}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K3hjâh²hubhì)”}”(hX­Typically, items will all be of the same unit size, but this isn't strictly required to use the techniques below. The indices can be increased by more than 1 if multiple items or variable-sized items are to be included in the buffer, provided that neither index overtakes the other. The implementer must be careful, however, as a region more than one unit in size may wrap the end of the buffer and be broken into two segments.”h]”hX¯Typically, items will all be of the same unit size, but this isn’t strictly required to use the techniques below. The indices can be increased by more than 1 if multiple items or variable-sized items are to be included in the buffer, provided that neither index overtakes the other. The implementer must be careful, however, as a region more than one unit in size may wrap the end of the buffer and be broken into two segments.”…””}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K8hjâh²hubeh}”(h]”Œwhat-is-a-circular-buffer”ah ]”h"]”Œwhat is a circular buffer?”ah$]”h&]”uh1hµhh·h²hh³hÊh´K$ubh¶)”}”(hhh]”(h»)”}”(hŒMeasuring power-of-2 buffers”h]”hŒMeasuring power-of-2 buffers”…””}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjvh²hh³hÊh´K@ubhì)”}”(hX)Calculation of the occupancy or the remaining capacity of an arbitrarily sized circular buffer would normally be a slow operation, requiring the use of a modulus (divide) instruction. However, if the buffer is of a power-of-2 size, then a much quicker bitwise-AND instruction can be used instead.”h]”hX)Calculation of the occupancy or the remaining capacity of an arbitrarily sized circular buffer would normally be a slow operation, requiring the use of a modulus (divide) instruction. However, if the buffer is of a power-of-2 size, then a much quicker bitwise-AND instruction can be used instead.”…””}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KBhjvh²hubhì)”}”(hŒgLinux provides a set of macros for handling power-of-2 circular buffers. These can be made use of by::”h]”hŒfLinux provides a set of macros for handling power-of-2 circular buffers. These can be made use of by:”…””}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KGhjvh²hubhŒ literal_block”“”)”}”(hŒ#include ”h]”hŒ#include ”…””}”hj¥sbah}”(h]”h ]”h"]”h$]”h&]”jàjáuh1j£h³hÊh´KJhjvh²hubhì)”}”(hŒThe macros are:”h]”hŒThe macros are:”…””}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KLhjvh²hubjt)”}”(hXÂ(#) Measure the remaining capacity of a buffer:: CIRC_SPACE(head_index, tail_index, buffer_size); This returns the amount of space left in the buffer[1] into which items can be inserted. (#) Measure the maximum consecutive immediate space in a buffer:: CIRC_SPACE_TO_END(head_index, tail_index, buffer_size); This returns the amount of consecutive space left in the buffer[1] into which items can be immediately inserted without having to wrap back to the beginning of the buffer. (#) Measure the occupancy of a buffer:: CIRC_CNT(head_index, tail_index, buffer_size); This returns the number of items currently occupying a buffer[2]. (#) Measure the non-wrapping occupancy of a buffer:: CIRC_CNT_TO_END(head_index, tail_index, buffer_size); This returns the number of consecutive items[2] that can be extracted from the buffer without having to wrap back to the beginning of the buffer. ”h]”jz)”}”(hhh]”(j)”}”(hŒ½Measure the remaining capacity of a buffer:: CIRC_SPACE(head_index, tail_index, buffer_size); This returns the amount of space left in the buffer[1] into which items can be inserted. ”h]”(hì)”}”(hŒ,Measure the remaining capacity of a buffer::”h]”hŒ+Measure the remaining capacity of a buffer:”…””}”(hjÌh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KNhjÈubj¤)”}”(hŒ0CIRC_SPACE(head_index, tail_index, buffer_size);”h]”hŒ0CIRC_SPACE(head_index, tail_index, buffer_size);”…””}”hjÚsbah}”(h]”h ]”h"]”h$]”h&]”jàjáuh1j£h³hÊh´KPhjÈubhì)”}”(hŒXThis returns the amount of space left in the buffer[1] into which items can be inserted.”h]”hŒXThis returns the amount of space left in the buffer[1] into which items can be inserted.”…””}”(hjèh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KRhjÈubeh}”(h]”h ]”h"]”h$]”h&]”uh1j~hjÅubj)”}”(hX(Measure the maximum consecutive immediate space in a buffer:: CIRC_SPACE_TO_END(head_index, tail_index, buffer_size); This returns the amount of consecutive space left in the buffer[1] into which items can be immediately inserted without having to wrap back to the beginning of the buffer. ”h]”(hì)”}”(hŒ=Measure the maximum consecutive immediate space in a buffer::”h]”hŒhead; /* The spin_unlock() and next spin_lock() provide needed ordering. */ unsigned long tail = READ_ONCE(buffer->tail); if (CIRC_SPACE(head, tail, buffer->size) >= 1) { /* insert one item into the buffer */ struct item *item = buffer[head]; produce_item(item); smp_store_release(buffer->head, (head + 1) & (buffer->size - 1)); /* wake_up() will make sure that the head is committed before * waking anyone up */ wake_up(consumer); } spin_unlock(&producer_lock);”h]”hX_spin_lock(&producer_lock); unsigned long head = buffer->head; /* The spin_unlock() and next spin_lock() provide needed ordering. */ unsigned long tail = READ_ONCE(buffer->tail); if (CIRC_SPACE(head, tail, buffer->size) >= 1) { /* insert one item into the buffer */ struct item *item = buffer[head]; produce_item(item); smp_store_release(buffer->head, (head + 1) & (buffer->size - 1)); /* wake_up() will make sure that the head is committed before * waking anyone up */ wake_up(consumer); } spin_unlock(&producer_lock);”…””}”hjÀsbah}”(h]”h ]”h"]”h$]”h&]”jàjáuh1j£h³hÊh´Kœhj¡h²hubhì)”}”(hŒêThis will instruct the CPU that the contents of the new item must be written before the head index makes it available to the consumer and then instructs the CPU that the revised head index must be written before the consumer is woken.”h]”hŒêThis will instruct the CPU that the contents of the new item must be written before the head index makes it available to the consumer and then instructs the CPU that the revised head index must be written before the consumer is woken.”…””}”(hjÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K²hj¡h²hubhì)”}”(hXPNote that wake_up() does not guarantee any sort of barrier unless something is actually awakened. We therefore cannot rely on it for ordering. However, there is always one element of the array left empty. Therefore, the producer must produce two elements before it could possibly corrupt the element currently being read by the consumer. Therefore, the unlock-lock pair between consecutive invocations of the consumer provides the necessary ordering between the read of the index indicating that the consumer has vacated a given element and the write by the producer to that same element.”h]”hXPNote that wake_up() does not guarantee any sort of barrier unless something is actually awakened. We therefore cannot rely on it for ordering. However, there is always one element of the array left empty. Therefore, the producer must produce two elements before it could possibly corrupt the element currently being read by the consumer. Therefore, the unlock-lock pair between consecutive invocations of the consumer provides the necessary ordering between the read of the index indicating that the consumer has vacated a given element and the write by the producer to that same element.”…””}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´K¶hj¡h²hubeh}”(h]”Œ the-producer”ah ]”h"]”Œ the producer”ah$]”h&]”uh1hµhj1h²hh³hÊh´K˜ubh¶)”}”(hhh]”(h»)”}”(hŒ The Consumer”h]”hŒ The Consumer”…””}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjòh²hh³hÊh´KÁubhì)”}”(hŒ,The consumer will look something like this::”h]”hŒ+The consumer will look something like this:”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÃhjòh²hubj¤)”}”(hXspin_lock(&consumer_lock); /* Read index before reading contents at that index. */ unsigned long head = smp_load_acquire(buffer->head); unsigned long tail = buffer->tail; if (CIRC_CNT(head, tail, buffer->size) >= 1) { /* extract one item from the buffer */ struct item *item = buffer[tail]; consume_item(item); /* Finish reading descriptor before incrementing tail. */ smp_store_release(buffer->tail, (tail + 1) & (buffer->size - 1)); } spin_unlock(&consumer_lock);”h]”hXspin_lock(&consumer_lock); /* Read index before reading contents at that index. */ unsigned long head = smp_load_acquire(buffer->head); unsigned long tail = buffer->tail; if (CIRC_CNT(head, tail, buffer->size) >= 1) { /* extract one item from the buffer */ struct item *item = buffer[tail]; consume_item(item); /* Finish reading descriptor before incrementing tail. */ smp_store_release(buffer->tail, (tail + 1) & (buffer->size - 1)); } spin_unlock(&consumer_lock);”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”jàjáuh1j£h³hÊh´KÅhjòh²hubhì)”}”(hŒàThis will instruct the CPU to make sure the index is up to date before reading the new item, and then it shall make sure the CPU has finished reading the item before it writes the new tail pointer, which will erase the item.”h]”hŒàThis will instruct the CPU to make sure the index is up to date before reading the new item, and then it shall make sure the CPU has finished reading the item before it writes the new tail pointer, which will erase the item.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÙhjòh²hubhì)”}”(hXuNote the use of READ_ONCE() and smp_load_acquire() to read the opposition index. This prevents the compiler from discarding and reloading its cached value. This isn't strictly needed if you can be sure that the opposition index will _only_ be used the once. The smp_load_acquire() additionally forces the CPU to order against subsequent memory references. Similarly, smp_store_release() is used in both algorithms to write the thread's index. This documents the fact that we are writing to something that can be read concurrently, prevents the compiler from tearing the store, and enforces ordering against previous accesses.”h]”hXyNote the use of READ_ONCE() and smp_load_acquire() to read the opposition index. This prevents the compiler from discarding and reloading its cached value. This isn’t strictly needed if you can be sure that the opposition index will _only_ be used the once. The smp_load_acquire() additionally forces the CPU to order against subsequent memory references. Similarly, smp_store_release() is used in both algorithms to write the thread’s index. This documents the fact that we are writing to something that can be read concurrently, prevents the compiler from tearing the store, and enforces ordering against previous accesses.”…””}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KÝhjòh²hubeh}”(h]”Œ the-consumer”ah ]”h"]”Œ the consumer”ah$]”h&]”uh1hµhj1h²hh³hÊh´KÁubeh}”(h]”Œ+using-memory-barriers-with-circular-buffers”ah ]”h"]”Œ+using memory barriers with circular buffers”ah$]”h&]”uh1hµhh·h²hh³hÊh´K‡ubh¶)”}”(hhh]”(h»)”}”(hŒFurther reading”h]”hŒFurther reading”…””}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjKh²hh³hÊh´Kêubhì)”}”(hŒbSee also Documentation/memory-barriers.txt for a description of Linux's memory barrier facilities.”h]”hŒdSee also Documentation/memory-barriers.txt for a description of Linux’s memory barrier facilities.”…””}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÊh´KìhjKh²hubeh}”(h]”Œfurther-reading”ah ]”h"]”Œfurther reading”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kêubeh}”(h]”Œcircular-buffers”ah ]”h"]”Œcircular buffers”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”}”(jwjtjsjpj.j+jHjEjïjìj@j=jojluŒ nametypes”}”(jw‰js‰j.‰jH‰jï‰j@‰jo‰uh}”(jth·jpjâj+jvjEj1jìj¡j=jòjljKuŒ 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”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.