€•Œ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/mm/physical_memory”Œ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/mm/physical_memory”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/it_IT/mm/physical_memory”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/ja_JP/mm/physical_memory”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ&/translations/ko_KR/mm/physical_memory”Œ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/mm/physical_memory”Œ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/mm/physical_memory”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)�”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…”�”}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³Œ@/var/lib/git/docbuild/linux/Documentation/mm/physical_memory.rst”h´KubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒPhysical Memory”h]”hŒPhysical Memory”…”�”}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhŒ paragraph”“”)�”}”(hŒïLinux is available for a wide range of architectures so there is a need for an architecture-independent abstraction to represent the physical memory. This chapter describes the structures used to manage physical memory in a running system.”h]”hŒïLinux is available for a wide range of architectures so there is a need for an architecture-independent abstraction to represent the physical memory. This chapter describes the structures used to manage physical memory in a running system.”…”�”}”(hhßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÞ)�”}”(hXÌThe first principal concept prevalent in the memory management is `Non-Uniform Memory Access (NUMA) `_. With multi-core and multi-socket machines, memory may be arranged into banks that incur a different cost to access depending on the “distanceâ€� from the processor. For example, there might be a bank of memory assigned to each CPU or a bank of memory very suitable for DMA near peripheral devices.”h]”(hŒBThe first principal concept prevalent in the memory management is ”…”�”}”(hhíh²hh³Nh´NubhŒ reference”“”)�”}”(hŒ]`Non-Uniform Memory Access (NUMA) `_”h]”hŒ Non-Uniform Memory Access (NUMA)”…”�”}”(hh÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œname”Œ Non-Uniform Memory Access (NUMA)”Œrefuri”Œ7https://en.wikipedia.org/wiki/Non-uniform_memory_access”uh1hõhhíubhŒtarget”“”)�”}”(hŒ: ”h]”h}”(h]”Œnon-uniform-memory-access-numa”ah ]”h"]”Œ non-uniform memory access (numa)”ah$]”h&]”Œrefuri”juh1j Œ referenced”KhhíubhX-. With multi-core and multi-socket machines, memory may be arranged into banks that incur a different cost to access depending on the “distanceâ€� from the processor. For example, there might be a bank of memory assigned to each CPU or a bank of memory very suitable for DMA near peripheral devices.”…”�”}”(hhíh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K hhÊh²hubhÞ)�”}”(hXHEach bank is called a node and the concept is represented under Linux by a ``struct pglist_data`` even if the architecture is UMA. This structure is always referenced by its typedef ``pg_data_t``. A ``pg_data_t`` structure for a particular node can be referenced by ``NODE_DATA(nid)`` macro where ``nid`` is the ID of that node.”h]”(hŒKEach bank is called a node and the concept is represented under Linux by a ”…”�”}”(hj#h²hh³Nh´NubhŒliteral”“”)�”}”(hŒ``struct pglist_data``”h]”hŒstruct pglist_data”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj#ubhŒU even if the architecture is UMA. This structure is always referenced by its typedef ”…”�”}”(hj#h²hh³Nh´Nubj,)�”}”(hŒ ``pg_data_t``”h]”hŒ pg_data_t”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj#ubhŒ. A ”…”�”}”(hj#h²hh³Nh´Nubj,)�”}”(hŒ ``pg_data_t``”h]”hŒ pg_data_t”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj#ubhŒ6 structure for a particular node can be referenced by ”…”�”}”(hj#h²hh³Nh´Nubj,)�”}”(hŒ``NODE_DATA(nid)``”h]”hŒNODE_DATA(nid)”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj#ubhŒ macro where ”…”�”}”(hj#h²hh³Nh´Nubj,)�”}”(hŒ``nid``”h]”hŒnid”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj#ubhŒ is the ID of that node.”…”�”}”(hj#h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÞ)�”}”(hXeFor NUMA architectures, the node structures are allocated by the architecture specific code early during boot. Usually, these structures are allocated locally on the memory bank they represent. For UMA architectures, only one static ``pg_data_t`` structure called ``contig_page_data`` is used. Nodes will be discussed further in Section :ref:`Nodes `”h]”(hŒéFor NUMA architectures, the node structures are allocated by the architecture specific code early during boot. Usually, these structures are allocated locally on the memory bank they represent. For UMA architectures, only one static ”…”�”}”(hj�h²hh³Nh´Nubj,)�”}”(hŒ ``pg_data_t``”h]”hŒ pg_data_t”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubhŒ structure called ”…”�”}”(hj�h²hh³Nh´Nubj,)�”}”(hŒ``contig_page_data``”h]”hŒcontig_page_data”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubhŒ5 is used. Nodes will be discussed further in Section ”…”�”}”(hj�h²hh³Nh´Nubh)�”}”(hŒ:ref:`Nodes `”h]”hŒinline”“”)�”}”(hj»h]”hŒNodes”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1j½hj¹ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œmm/physical_memory”Œ refdomain”jÊŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆŒ reftarget”Œnodes”uh1hh³hÇh´Khj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KhhÊh²hubhÞ)�”}”(hXwThe entire physical address space is partitioned into one or more blocks called zones which represent ranges within memory. These ranges are usually determined by architectural constraints for accessing the physical memory. The memory range within a node that corresponds to a particular zone is described by a ``struct zone``. Each zone has one of the types described below.”h]”(hX7The entire physical address space is partitioned into one or more blocks called zones which represent ranges within memory. These ranges are usually determined by architectural constraints for accessing the physical memory. The memory range within a node that corresponds to a particular zone is described by a ”…”�”}”(hjäh²hh³Nh´Nubj,)�”}”(hŒ``struct zone``”h]”hŒ struct zone”…”�”}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjäubhŒ1. Each zone has one of the types described below.”…”�”}”(hjäh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K hhÊh²hubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hXÃ``ZONE_DMA`` and ``ZONE_DMA32`` historically represented memory suitable for DMA by peripheral devices that cannot access all of the addressable memory. For many years there are better more and robust interfaces to get memory with DMA specific requirements (Documentation/core-api/dma-api.rst), but ``ZONE_DMA`` and ``ZONE_DMA32`` still represent memory ranges that have restrictions on how they can be accessed. Depending on the architecture, either of these zone types or even they both can be disabled at build time using ``CONFIG_ZONE_DMA`` and ``CONFIG_ZONE_DMA32`` configuration options. Some 64-bit platforms may need both zones as they support peripherals with different DMA addressing limitations. ”h]”hÞ)�”}”(hXÂ``ZONE_DMA`` and ``ZONE_DMA32`` historically represented memory suitable for DMA by peripheral devices that cannot access all of the addressable memory. For many years there are better more and robust interfaces to get memory with DMA specific requirements (Documentation/core-api/dma-api.rst), but ``ZONE_DMA`` and ``ZONE_DMA32`` still represent memory ranges that have restrictions on how they can be accessed. Depending on the architecture, either of these zone types or even they both can be disabled at build time using ``CONFIG_ZONE_DMA`` and ``CONFIG_ZONE_DMA32`` configuration options. Some 64-bit platforms may need both zones as they support peripherals with different DMA addressing limitations.”h]”(j,)�”}”(hŒ ``ZONE_DMA``”h]”hŒZONE_DMA”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ and ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_DMA32``”h]”hŒ ZONE_DMA32”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhX  historically represented memory suitable for DMA by peripheral devices that cannot access all of the addressable memory. For many years there are better more and robust interfaces to get memory with DMA specific requirements (Documentation/core-api/dma-api.rst), but ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ ``ZONE_DMA``”h]”hŒZONE_DMA”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ and ”…”�”}”hjsbj,)�”}”(hŒ``ZONE_DMA32``”h]”hŒ ZONE_DMA32”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒÃ still represent memory ranges that have restrictions on how they can be accessed. Depending on the architecture, either of these zone types or even they both can be disabled at build time using ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_ZONE_DMA``”h]”hŒCONFIG_ZONE_DMA”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ and ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_ZONE_DMA32``”h]”hŒCONFIG_ZONE_DMA32”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒˆ configuration options. Some 64-bit platforms may need both zones as they support peripherals with different DMA addressing limitations.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K'hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjh²hh³hÇh´Nubj )�”}”(hŒï``ZONE_NORMAL`` is for normal memory that can be accessed by the kernel all the time. DMA operations can be performed on pages in this zone if the DMA devices support transfers to all addressable memory. ``ZONE_NORMAL`` is always enabled. ”h]”hÞ)�”}”(hŒî``ZONE_NORMAL`` is for normal memory that can be accessed by the kernel all the time. DMA operations can be performed on pages in this zone if the DMA devices support transfers to all addressable memory. ``ZONE_NORMAL`` is always enabled.”h]”(j,)�”}”(hŒ``ZONE_NORMAL``”h]”hŒ ZONE_NORMAL”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubhŒ½ is for normal memory that can be accessed by the kernel all the time. DMA operations can be performed on pages in this zone if the DMA devices support transfers to all addressable memory. ”…”�”}”(hj�h²hh³Nh´Nubj,)�”}”(hŒ``ZONE_NORMAL``”h]”hŒ ZONE_NORMAL”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubhŒ is always enabled.”…”�”}”(hj�h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K3hj‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjh²hh³hÇh´Nubj )�”}”(hX.``ZONE_HIGHMEM`` is the part of the physical memory that is not covered by a permanent mapping in the kernel page tables. The memory in this zone is only accessible to the kernel using temporary mappings. This zone is available only on some 32-bit architectures and is enabled with ``CONFIG_HIGHMEM``. ”h]”hÞ)�”}”(hX-``ZONE_HIGHMEM`` is the part of the physical memory that is not covered by a permanent mapping in the kernel page tables. The memory in this zone is only accessible to the kernel using temporary mappings. This zone is available only on some 32-bit architectures and is enabled with ``CONFIG_HIGHMEM``.”h]”(j,)�”}”(hŒ``ZONE_HIGHMEM``”h]”hŒ ZONE_HIGHMEM”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÇubhX  is the part of the physical memory that is not covered by a permanent mapping in the kernel page tables. The memory in this zone is only accessible to the kernel using temporary mappings. This zone is available only on some 32-bit architectures and is enabled with ”…”�”}”(hjÇh²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_HIGHMEM``”h]”hŒCONFIG_HIGHMEM”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÇubhŒ.”…”�”}”(hjÇh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K8hjÃubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjh²hh³hÇh´Nubj )�”}”(hXT``ZONE_MOVABLE`` is for normal accessible memory, just like ``ZONE_NORMAL``. The difference is that the contents of most pages in ``ZONE_MOVABLE`` is movable. That means that while virtual addresses of these pages do not change, their content may move between different physical pages. Often ``ZONE_MOVABLE`` is populated during memory hotplug, but it may be also populated on boot using one of ``kernelcore``, ``movablecore`` and ``movable_node`` kernel command line parameters. See Documentation/mm/page_migration.rst and Documentation/admin-guide/mm/memory-hotplug.rst for additional details. ”h]”hÞ)�”}”(hXS``ZONE_MOVABLE`` is for normal accessible memory, just like ``ZONE_NORMAL``. The difference is that the contents of most pages in ``ZONE_MOVABLE`` is movable. That means that while virtual addresses of these pages do not change, their content may move between different physical pages. Often ``ZONE_MOVABLE`` is populated during memory hotplug, but it may be also populated on boot using one of ``kernelcore``, ``movablecore`` and ``movable_node`` kernel command line parameters. See Documentation/mm/page_migration.rst and Documentation/admin-guide/mm/memory-hotplug.rst for additional details.”h]”(j,)�”}”(hŒ``ZONE_MOVABLE``”h]”hŒ ZONE_MOVABLE”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÿubhŒ, is for normal accessible memory, just like ”…”�”}”(hjÿh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_NORMAL``”h]”hŒ ZONE_NORMAL”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÿubhŒ7. The difference is that the contents of most pages in ”…”�”}”(hjÿh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_MOVABLE``”h]”hŒ ZONE_MOVABLE”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÿubhŒ’ is movable. That means that while virtual addresses of these pages do not change, their content may move between different physical pages. Often ”…”�”}”(hjÿh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_MOVABLE``”h]”hŒ ZONE_MOVABLE”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÿubhŒW is populated during memory hotplug, but it may be also populated on boot using one of ”…”�”}”(hjÿh²hh³Nh´Nubj,)�”}”(hŒ``kernelcore``”h]”hŒ kernelcore”…”�”}”(hjKh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÿubhŒ, ”…”�”}”(hjÿh²hh³Nh´Nubj,)�”}”(hŒ``movablecore``”h]”hŒ movablecore”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÿubhŒ and ”…”�”}”(hjÿh²hh³Nh´Nubj,)�”}”(hŒ``movable_node``”h]”hŒ movable_node”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÿubhŒ” kernel command line parameters. See Documentation/mm/page_migration.rst and Documentation/admin-guide/mm/memory-hotplug.rst for additional details.”…”�”}”(hjÿh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K=hjûubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjh²hh³hÇh´Nubj )�”}”(hXP``ZONE_DEVICE`` represents memory residing on devices such as PMEM and GPU. It has different characteristics than RAM zone types and it exists to provide :ref:`struct page ` and memory map services for device driver identified physical address ranges. ``ZONE_DEVICE`` is enabled with configuration option ``CONFIG_ZONE_DEVICE``. ”h]”hÞ)�”}”(hXO``ZONE_DEVICE`` represents memory residing on devices such as PMEM and GPU. It has different characteristics than RAM zone types and it exists to provide :ref:`struct page ` and memory map services for device driver identified physical address ranges. ``ZONE_DEVICE`` is enabled with configuration option ``CONFIG_ZONE_DEVICE``.”h]”(j,)�”}”(hŒ``ZONE_DEVICE``”h]”hŒ ZONE_DEVICE”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj‘ubhŒ‹ represents memory residing on devices such as PMEM and GPU. It has different characteristics than RAM zone types and it exists to provide ”…”�”}”(hj‘h²hh³Nh´Nubh)�”}”(hŒ:ref:`struct page `”h]”j¾)�”}”(hj©h]”hŒ struct page”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”(jÉŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j½hj§ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÖŒ refdomain”jµŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjÜŒpages”uh1hh³hÇh´KGhj‘ubhŒO and memory map services for device driver identified physical address ranges. ”…”�”}”(hj‘h²hh³Nh´Nubj,)�”}”(hŒ``ZONE_DEVICE``”h]”hŒ ZONE_DEVICE”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj‘ubhŒ& is enabled with configuration option ”…”�”}”(hj‘h²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_ZONE_DEVICE``”h]”hŒCONFIG_ZONE_DEVICE”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj‘ubhŒ.”…”�”}”(hj‘h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KGhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1jh³hÇh´K'hhÊh²hubhÞ)�”}”(hŒÇIt is important to note that many kernel operations can only take place using ``ZONE_NORMAL`` so it is the most performance critical zone. Zones are discussed further in Section :ref:`Zones `.”h]”(hŒNIt is important to note that many kernel operations can only take place using ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_NORMAL``”h]”hŒ ZONE_NORMAL”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒU so it is the most performance critical zone. Zones are discussed further in Section ”…”�”}”(hjh²hh³Nh´Nubh)�”}”(hŒ:ref:`Zones `”h]”j¾)�”}”(hjh]”hŒZones”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”(jÉŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j½hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÖŒ refdomain”j+Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjÜŒzones”uh1hh³hÇh´KMhjubhŒ.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KMhhÊh²hubhÞ)�”}”(hŒÐThe relation between node and zone extents is determined by the physical memory map reported by the firmware, architectural constraints for memory addressing and certain parameters in the kernel command line.”h]”hŒÐThe relation between node and zone extents is determined by the physical memory map reported by the firmware, architectural constraints for memory addressing and certain parameters in the kernel command line.”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KQhhÊh²hubhÞ)�”}”(hŒÂFor example, with 32-bit kernel on an x86 UMA machine with 2 Gbytes of RAM the entire memory will be on node 0 and there will be three zones: ``ZONE_DMA``, ``ZONE_NORMAL`` and ``ZONE_HIGHMEM``::”h]”(hŒŽFor example, with 32-bit kernel on an x86 UMA machine with 2 Gbytes of RAM the entire memory will be on node 0 and there will be three zones: ”…”�”}”(hjUh²hh³Nh´Nubj,)�”}”(hŒ ``ZONE_DMA``”h]”hŒZONE_DMA”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjUubhŒ, ”…”�”}”(hjUh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_NORMAL``”h]”hŒ ZONE_NORMAL”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjUubhŒ and ”…”�”}”(hjUh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_HIGHMEM``”h]”hŒ ZONE_HIGHMEM”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjUubhŒ:”…”�”}”(hjUh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KUhhÊh²hubhŒ literal_block”“”)�”}”(hX0 2G +-------------------------------------------------------------+ | node 0 | +-------------------------------------------------------------+ 0 16M 896M 2G +----------+-----------------------+--------------------------+ | ZONE_DMA | ZONE_NORMAL | ZONE_HIGHMEM | +----------+-----------------------+--------------------------+”h]”hX0 2G +-------------------------------------------------------------+ | node 0 | +-------------------------------------------------------------+ 0 16M 896M 2G +----------+-----------------------+--------------------------+ | ZONE_DMA | ZONE_NORMAL | ZONE_HIGHMEM | +----------+-----------------------+--------------------------+”…”�”}”hj›sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j™h³hÇh´KYhhÊh²hubhÞ)�”}”(hXEWith a kernel built with ``ZONE_DMA`` disabled and ``ZONE_DMA32`` enabled and booted with ``movablecore=80%`` parameter on an arm64 machine with 16 Gbytes of RAM equally split between two nodes, there will be ``ZONE_DMA32``, ``ZONE_NORMAL`` and ``ZONE_MOVABLE`` on node 0, and ``ZONE_NORMAL`` and ``ZONE_MOVABLE`` on node 1::”h]”(hŒWith a kernel built with ”…”�”}”(hj©h²hh³Nh´Nubj,)�”}”(hŒ ``ZONE_DMA``”h]”hŒZONE_DMA”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj©ubhŒ disabled and ”…”�”}”(hj©h²hh³Nh´Nubj,)�”}”(hŒ``ZONE_DMA32``”h]”hŒ ZONE_DMA32”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj©ubhŒ enabled and booted with ”…”�”}”(hj©h²hh³Nh´Nubj,)�”}”(hŒ``movablecore=80%``”h]”hŒmovablecore=80%”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj©ubhŒd parameter on an arm64 machine with 16 Gbytes of RAM equally split between two nodes, there will be ”…”�”}”(hj©h²hh³Nh´Nubj,)�”}”(hŒ``ZONE_DMA32``”h]”hŒ ZONE_DMA32”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj©ubhŒ, ”…”�”}”(hj©h²hh³Nh´Nubj,)�”}”(hŒ``ZONE_NORMAL``”h]”hŒ ZONE_NORMAL”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj©ubhŒ and ”…”�”}”(hj©h²hh³Nh´Nubj,)�”}”(hŒ``ZONE_MOVABLE``”h]”hŒ ZONE_MOVABLE”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj©ubhŒ on node 0, and ”…”�”}”(hj©h²hh³Nh´Nubj,)�”}”(hŒ``ZONE_NORMAL``”h]”hŒ ZONE_NORMAL”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj©ubhŒ and ”…”�”}”(hj©h²hh³Nh´Nubj,)�”}”(hŒ``ZONE_MOVABLE``”h]”hŒ ZONE_MOVABLE”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj©ubhŒ on node 1:”…”�”}”(hj©h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KdhhÊh²hubjš)�”}”(hX1G 9G 17G +--------------------------------+ +--------------------------+ | node 0 | | node 1 | +--------------------------------+ +--------------------------+ 1G 4G 4200M 9G 9320M 17G +---------+----------+-----------+ +------------+-------------+ | DMA32 | NORMAL | MOVABLE | | NORMAL | MOVABLE | +---------+----------+-----------+ +------------+-------------+”h]”hX1G 9G 17G +--------------------------------+ +--------------------------+ | node 0 | | node 1 | +--------------------------------+ +--------------------------+ 1G 4G 4200M 9G 9320M 17G +---------+----------+-----------+ +------------+-------------+ | DMA32 | NORMAL | MOVABLE | | NORMAL | MOVABLE | +---------+----------+-----------+ +------------+-------------+”…”�”}”hjGsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j™h³hÇh´KkhhÊh²hubhÞ)�”}”(hŒ·Memory banks may belong to interleaving nodes. In the example below an x86 machine has 16 Gbytes of RAM in 4 memory banks, even banks belong to node 0 and odd banks belong to node 1::”h]”hŒ¶Memory banks may belong to interleaving nodes. In the example below an x86 machine has 16 Gbytes of RAM in 4 memory banks, even banks belong to node 0 and odd banks belong to node 1:”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KvhhÊh²hubjš)�”}”(hXÑ0 4G 8G 12G 16G +-------------+ +-------------+ +-------------+ +-------------+ | node 0 | | node 1 | | node 0 | | node 1 | +-------------+ +-------------+ +-------------+ +-------------+ 0 16M 4G +-----+-------+ +-------------+ +-------------+ +-------------+ | DMA | DMA32 | | NORMAL | | NORMAL | | NORMAL | +-----+-------+ +-------------+ +-------------+ +-------------+”h]”hXÑ0 4G 8G 12G 16G +-------------+ +-------------+ +-------------+ +-------------+ | node 0 | | node 1 | | node 0 | | node 1 | +-------------+ +-------------+ +-------------+ +-------------+ 0 16M 4G +-----+-------+ +-------------+ +-------------+ +-------------+ | DMA | DMA32 | | NORMAL | | NORMAL | | NORMAL | +-----+-------+ +-------------+ +-------------+ +-------------+”…”�”}”hjcsbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j™h³hÇh´K{hhÊh²hubhÞ)�”}”(hŒ[In this case node 0 will span from 0 to 12 Gbytes and node 1 will span from 4 to 16 Gbytes.”h]”hŒ[In this case node 0 will span from 0 to 12 Gbytes and node 1 will span from 4 to 16 Gbytes.”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K…hhÊh²hubj )�”}”(hŒ .. _nodes:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œnodes”uh1j h´KˆhhÊh²hh³hÇubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒNodes”h]”hŒNodes”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj‹h²hh³hÇh´K‹ubhÞ)�”}”(hXàAs we have mentioned, each node in memory is described by a ``pg_data_t`` which is a typedef for a ``struct pglist_data``. When allocating a page, by default Linux uses a node-local allocation policy to allocate memory from the node closest to the running CPU. As processes tend to run on the same CPU, it is likely the memory from the current node will be used. The allocation policy can be controlled by users as described in Documentation/admin-guide/mm/numa_memory_policy.rst.”h]”(hŒ`.”h]”(hXeMost NUMA architectures maintain an array of pointers to the node structures. The actual structures are allocated early during boot when architecture specific code parses the physical memory map reported by the firmware. The bulk of the node initialization happens slightly later in the boot process by free_area_init() function, described later in Section ”…”�”}”(hjÎh²hh³Nh´Nubh)�”}”(hŒ&:ref:`Initialization `”h]”j¾)�”}”(hjØh]”hŒInitialization”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”(jÉŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j½hjÖubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÖŒ refdomain”jäŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjÜŒinitialization”uh1hh³hÇh´K•hjÎubhŒ.”…”�”}”(hjÎh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K•hj‹h²hubhÞ)�”}”(hŒàAlong with the node structures, kernel maintains an array of ``nodemask_t`` bitmasks called ``node_states``. Each bitmask in this array represents a set of nodes with particular properties as defined by ``enum node_states``:”h]”(hŒ=Along with the node structures, kernel maintains an array of ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``nodemask_t``”h]”hŒ nodemask_t”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ bitmasks called ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``node_states``”h]”hŒ node_states”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ`. Each bitmask in this array represents a set of nodes with particular properties as defined by ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``enum node_states``”h]”hŒenum node_states”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ:”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K�hj‹h²hubhŒdefinition_list”“”)�”}”(hhh]”(hŒdefinition_list_item”“”)�”}”(hŒ:``N_POSSIBLE`` The node could become online at some point.”h]”(hŒterm”“”)�”}”(hŒ``N_POSSIBLE``”h]”j,)�”}”(hjSh]”hŒ N_POSSIBLE”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjQubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´K¡hjKubhŒ definition”“”)�”}”(hhh]”hÞ)�”}”(hŒ+The node could become online at some point.”h]”hŒ+The node could become online at some point.”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¢hjjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjKubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´K¡hjFubjJ)�”}”(hŒ ``N_ONLINE`` The node is online.”h]”(jP)�”}”(hŒ ``N_ONLINE``”h]”j,)�”}”(hj�h]”hŒN_ONLINE”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´K£hj‡ubji)�”}”(hhh]”hÞ)�”}”(hŒThe node is online.”h]”hŒThe node is online.”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¤hj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´K£hjFh²hubjJ)�”}”(hŒ0``N_NORMAL_MEMORY`` The node has regular memory.”h]”(jP)�”}”(hŒ``N_NORMAL_MEMORY``”h]”j,)�”}”(hjÅh]”hŒN_NORMAL_MEMORY”…”�”}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÃubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´K¥hj¿ubji)�”}”(hhh]”hÞ)�”}”(hŒThe node has regular memory.”h]”hŒThe node has regular memory.”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¦hjÚubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¿ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´K¥hjFh²hubjJ)�”}”(hŒz``N_HIGH_MEMORY`` The node has regular or high memory. When ``CONFIG_HIGHMEM`` is disabled aliased to ``N_NORMAL_MEMORY``.”h]”(jP)�”}”(hŒ``N_HIGH_MEMORY``”h]”j,)�”}”(hjýh]”hŒ N_HIGH_MEMORY”…”�”}”(hjÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjûubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´K¨hj÷ubji)�”}”(hhh]”hÞ)�”}”(hŒhThe node has regular or high memory. When ``CONFIG_HIGHMEM`` is disabled aliased to ``N_NORMAL_MEMORY``.”h]”(hŒ*The node has regular or high memory. When ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_HIGHMEM``”h]”hŒCONFIG_HIGHMEM”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ is disabled aliased to ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``N_NORMAL_MEMORY``”h]”hŒN_NORMAL_MEMORY”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¨hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj÷ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´K¨hjFh²hubjJ)�”}”(hŒ8``N_MEMORY`` The node has memory(regular, high, movable)”h]”(jP)�”}”(hŒ ``N_MEMORY``”h]”j,)�”}”(hjYh]”hŒN_MEMORY”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjWubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´KªhjSubji)�”}”(hhh]”hÞ)�”}”(hŒ+The node has memory(regular, high, movable)”h]”hŒ+The node has memory(regular, high, movable)”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K«hjnubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjSubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´KªhjFh²hubjJ)�”}”(hŒ'``N_CPU`` The node has one or more CPUs”h]”(jP)�”}”(hŒ ``N_CPU``”h]”j,)�”}”(hj‘h]”hŒN_CPU”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´K¬hj‹ubji)�”}”(hhh]”hÞ)�”}”(hŒThe node has one or more CPUs”h]”hŒThe node has one or more CPUs”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K­hj¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj‹ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´K¬hjFh²hubjJ)�”}”(hŒD``N_GENERIC_INITIATOR`` The node has one or more Generic Initiators ”h]”(jP)�”}”(hŒ``N_GENERIC_INITIATOR``”h]”j,)�”}”(hjÉh]”hŒN_GENERIC_INITIATOR”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´K¯hjÃubji)�”}”(hhh]”hÞ)�”}”(hŒ+The node has one or more Generic Initiators”h]”hŒ+The node has one or more Generic Initiators”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K¯hjÞubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÃubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´K¯hjFh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jDhj‹h²hh³hÇh´NubhÞ)�”}”(hŒŠFor each node that has a property described above, the bit corresponding to the node ID in the ``node_states[]`` bitmask is set.”h]”(hŒ_For each node that has a property described above, the bit corresponding to the node ID in the ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``node_states[]``”h]”hŒnode_states[]”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ bitmask is set.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K±hj‹h²hubhÞ)�”}”(hŒLFor example, for node 2 with normal memory and CPUs, bit 2 will be set in ::”h]”hŒIFor example, for node 2 with normal memory and CPUs, bit 2 will be set in”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K´hj‹h²hubjš)�”}”(hŒŽnode_states[N_POSSIBLE] node_states[N_ONLINE] node_states[N_NORMAL_MEMORY] node_states[N_HIGH_MEMORY] node_states[N_MEMORY] node_states[N_CPU]”h]”hŒŽnode_states[N_POSSIBLE] node_states[N_ONLINE] node_states[N_NORMAL_MEMORY] node_states[N_HIGH_MEMORY] node_states[N_MEMORY] node_states[N_CPU]”…”�”}”hj/sbah}”(h]”h ]”h"]”h$]”h&]”hÅhÆuh1j™h³hÇh´K¶hj‹h²hubhÞ)�”}”(hŒ\For various operations possible with nodemasks please refer to ``include/linux/nodemask.h``.”h]”(hŒ?For various operations possible with nodemasks please refer to ”…”�”}”(hj=h²hh³Nh´Nubj,)�”}”(hŒ``include/linux/nodemask.h``”h]”hŒinclude/linux/nodemask.h”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj=ubhŒ.”…”�”}”(hj=h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´K½hj‹h²hubhÞ)�”}”(hŒ‡Among other things, nodemasks are used to provide macros for node traversal, namely ``for_each_node()`` and ``for_each_online_node()``.”h]”(hŒTAmong other things, nodemasks are used to provide macros for node traversal, namely ”…”�”}”(hj]h²hh³Nh´Nubj,)�”}”(hŒ``for_each_node()``”h]”hŒfor_each_node()”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj]ubhŒ and ”…”�”}”(hj]h²hh³Nh´Nubj,)�”}”(hŒ``for_each_online_node()``”h]”hŒfor_each_online_node()”…”�”}”(hjwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj]ubhŒ.”…”�”}”(hj]h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÀhj‹h²hubhÞ)�”}”(hŒ=For instance, to call a function foo() for each online node::”h]”hŒ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´KÞhj: ubji)�”}”(hhh]”hÞ)�”}”(hŒþThe list of all zones in all nodes. This list defines the order of zones that allocations are preferred from. The ``node_zonelists`` is set up by ``build_zonelists()`` in ``mm/page_alloc.c`` during the initialization of core memory management structures.”h]”(hŒrThe list of all zones in all nodes. This list defines the order of zones that allocations are preferred from. The ”…”�”}”(hjX h²hh³Nh´Nubj,)�”}”(hŒ``node_zonelists``”h]”hŒnode_zonelists”…”�”}”(hj` h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjX ubhŒ is set up by ”…”�”}”(hjX h²hh³Nh´Nubj,)�”}”(hŒ``build_zonelists()``”h]”hŒbuild_zonelists()”…”�”}”(hjr h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjX ubhŒ in ”…”�”}”(hjX h²hh³Nh´Nubj,)�”}”(hŒ``mm/page_alloc.c``”h]”hŒmm/page_alloc.c”…”�”}”(hj„ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjX ubhŒ@ during the initialization of core memory management structures.”…”�”}”(hjX h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KÛhjU ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj: ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´KÞhjÿh²hubjJ)�”}”(hŒ5``nr_zones`` Number of populated zones in this node. ”h]”(jP)�”}”(hŒ ``nr_zones``”h]”j,)�”}”(hj® h]”hŒnr_zones”…”�”}”(hj° h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¬ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Káhj¨ ubji)�”}”(hhh]”hÞ)�”}”(hŒ'Number of populated zones in this node.”h]”hŒ'Number of populated zones in this node.”…”�”}”(hjÆ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Káhjà ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¨ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Káhjÿh²hubjJ)�”}”(hŒ˜``node_mem_map`` For UMA systems that use FLATMEM memory model the 0's node ``node_mem_map`` is array of struct pages representing each physical frame. ”h]”(jP)�”}”(hŒ``node_mem_map``”h]”j,)�”}”(hjæ h]”hŒ node_mem_map”…”�”}”(hjè h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjä ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Kåhjà ubji)�”}”(hhh]”hÞ)�”}”(hŒ†For UMA systems that use FLATMEM memory model the 0's node ``node_mem_map`` is array of struct pages representing each physical frame.”h]”(hŒ=For UMA systems that use FLATMEM memory model the 0’s node ”…”�”}”(hjþ h²hh³Nh´Nubj,)�”}”(hŒ``node_mem_map``”h]”hŒ node_mem_map”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjþ ubhŒ; is array of struct pages representing each physical frame.”…”�”}”(hjþ h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kähjû ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjà ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Kåhjÿh²hubjJ)�”}”(hŒÓ``node_page_ext`` For UMA systems that use FLATMEM memory model the 0's node ``node_page_ext`` is array of extensions of struct pages. Available only in the kernels built with ``CONFIG_PAGE_EXTENSION`` enabled. ”h]”(jP)�”}”(hŒ``node_page_ext``”h]”j,)�”}”(hj0 h]”hŒ node_page_ext”…”�”}”(hj2 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj. ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Kêhj* ubji)�”}”(hhh]”hÞ)�”}”(hŒÀFor UMA systems that use FLATMEM memory model the 0's node ``node_page_ext`` is array of extensions of struct pages. Available only in the kernels built with ``CONFIG_PAGE_EXTENSION`` enabled.”h]”(hŒ=For UMA systems that use FLATMEM memory model the 0’s node ”…”�”}”(hjH h²hh³Nh´Nubj,)�”}”(hŒ``node_page_ext``”h]”hŒ node_page_ext”…”�”}”(hjP h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjH ubhŒR is array of extensions of struct pages. Available only in the kernels built with ”…”�”}”(hjH h²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_PAGE_EXTENSION``”h]”hŒCONFIG_PAGE_EXTENSION”…”�”}”(hjb h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjH ubhŒ enabled.”…”�”}”(hjH h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KèhjE ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj* ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Kêhjÿh²hubjJ)�”}”(hŒR``node_start_pfn`` The page frame number of the starting page frame in this node. ”h]”(jP)�”}”(hŒ``node_start_pfn``”h]”j,)�”}”(hjŒ h]”hŒnode_start_pfn”…”�”}”(hjŽ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjŠ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Kíhj† ubji)�”}”(hhh]”hÞ)�”}”(hŒ>The page frame number of the starting page frame in this node.”h]”hŒ>The page frame number of the starting page frame in this node.”…”�”}”(hj¤ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kíhj¡ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj† ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Kíhjÿh²hubjJ)�”}”(hŒL``node_present_pages`` Total number of physical pages present in this node. ”h]”(jP)�”}”(hŒ``node_present_pages``”h]”j,)�”}”(hjÄ h]”hŒnode_present_pages”…”�”}”(hjÆ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Kðhj¾ ubji)�”}”(hhh]”hÞ)�”}”(hŒ4Total number of physical pages present in this node.”h]”hŒ4Total number of physical pages present in this node.”…”�”}”(hjÜ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KðhjÙ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj¾ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Kðhjÿh²hubjJ)�”}”(hŒK``node_spanned_pages`` Total size of physical page range, including holes. ”h]”(jP)�”}”(hŒ``node_spanned_pages``”h]”j,)�”}”(hjü h]”hŒnode_spanned_pages”…”�”}”(hjþ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjú ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Kóhjö ubji)�”}”(hhh]”hÞ)�”}”(hŒ3Total size of physical page range, including holes.”h]”hŒ3Total size of physical page range, including holes.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kóhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjö ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Kóhjÿh²hubjJ)�”}”(hX‘``node_size_lock`` A lock that protects the fields defining the node extents. Only defined when at least one of ``CONFIG_MEMORY_HOTPLUG`` or ``CONFIG_DEFERRED_STRUCT_PAGE_INIT`` configuration options are enabled. ``pgdat_resize_lock()`` and ``pgdat_resize_unlock()`` are provided to manipulate ``node_size_lock`` without checking for ``CONFIG_MEMORY_HOTPLUG`` or ``CONFIG_DEFERRED_STRUCT_PAGE_INIT``. ”h]”(jP)�”}”(hŒ``node_size_lock``”h]”j,)�”}”(hj4 h]”hŒnode_size_lock”…”�”}”(hj6 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj2 ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Kûhj. ubji)�”}”(hhh]”hÞ)�”}”(hX}A lock that protects the fields defining the node extents. Only defined when at least one of ``CONFIG_MEMORY_HOTPLUG`` or ``CONFIG_DEFERRED_STRUCT_PAGE_INIT`` configuration options are enabled. ``pgdat_resize_lock()`` and ``pgdat_resize_unlock()`` are provided to manipulate ``node_size_lock`` without checking for ``CONFIG_MEMORY_HOTPLUG`` or ``CONFIG_DEFERRED_STRUCT_PAGE_INIT``.”h]”(hŒ]A lock that protects the fields defining the node extents. Only defined when at least one of ”…”�”}”(hjL h²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_MEMORY_HOTPLUG``”h]”hŒCONFIG_MEMORY_HOTPLUG”…”�”}”(hjT h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjL ubhŒ or ”…”�”}”(hjL h²hh³Nh´Nubj,)�”}”(hŒ$``CONFIG_DEFERRED_STRUCT_PAGE_INIT``”h]”hŒ CONFIG_DEFERRED_STRUCT_PAGE_INIT”…”�”}”(hjf h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjL ubhŒ$ configuration options are enabled. ”…”�”}”(hjL h²hh³Nh´Nubj,)�”}”(hŒ``pgdat_resize_lock()``”h]”hŒpgdat_resize_lock()”…”�”}”(hjx h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjL ubhŒ and ”…”�”}”(hjL h²hh³Nh´Nubj,)�”}”(hŒ``pgdat_resize_unlock()``”h]”hŒpgdat_resize_unlock()”…”�”}”(hjŠ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjL ubhŒ are provided to manipulate ”…”�”}”(hjL h²hh³Nh´Nubj,)�”}”(hŒ``node_size_lock``”h]”hŒnode_size_lock”…”�”}”(hjœ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjL ubhŒ without checking for ”…”�”}”(hjL h²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_MEMORY_HOTPLUG``”h]”hŒCONFIG_MEMORY_HOTPLUG”…”�”}”(hj® h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjL ubhŒ or ”…”�”}”(hjL h²hh³Nh´Nubj,)�”}”(hŒ$``CONFIG_DEFERRED_STRUCT_PAGE_INIT``”h]”hŒ CONFIG_DEFERRED_STRUCT_PAGE_INIT”…”�”}”(hjÀ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjL ubhŒ.”…”�”}”(hjL h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´KöhjI ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj. ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Kûhjÿh²hubjJ)�”}”(hŒ8``node_id`` The Node ID (NID) of the node, starts at 0. ”h]”(jP)�”}”(hŒ ``node_id``”h]”j,)�”}”(hjê h]”hŒnode_id”…”�”}”(hjì h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjè ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Kþhjä ubji)�”}”(hhh]”hÞ)�”}”(hŒ+The Node ID (NID) of the node, starts at 0.”h]”hŒ+The Node ID (NID) of the node, starts at 0.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Kþhjÿ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjä ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Kþhjÿh²hubjJ)�”}”(hŒl``totalreserve_pages`` This is a per-node reserve of pages that are not available to userspace allocations. ”h]”(jP)�”}”(hŒ``totalreserve_pages``”h]”j,)�”}”(hj" h]”hŒtotalreserve_pages”…”�”}”(hj$ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Mhj ubji)�”}”(hhh]”hÞ)�”}”(hŒTThis is a per-node reserve of pages that are not available to userspace allocations.”h]”hŒTThis is a per-node reserve of pages that are not available to userspace allocations.”…”�”}”(hj: h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mhj7 ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mhjÿh²hubjJ)�”}”(hŒÉ``first_deferred_pfn`` If memory initialization on large machines is deferred then this is the first PFN that needs to be initialized. Defined only when ``CONFIG_DEFERRED_STRUCT_PAGE_INIT`` is enabled ”h]”(jP)�”}”(hŒ``first_deferred_pfn``”h]”j,)�”}”(hjZ h]”hŒfirst_deferred_pfn”…”�”}”(hj\ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjX ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MhjT ubji)�”}”(hhh]”hÞ)�”}”(hŒ±If memory initialization on large machines is deferred then this is the first PFN that needs to be initialized. Defined only when ``CONFIG_DEFERRED_STRUCT_PAGE_INIT`` is enabled”h]”(hŒ‚If memory initialization on large machines is deferred then this is the first PFN that needs to be initialized. Defined only when ”…”�”}”(hjr h²hh³Nh´Nubj,)�”}”(hŒ$``CONFIG_DEFERRED_STRUCT_PAGE_INIT``”h]”hŒ CONFIG_DEFERRED_STRUCT_PAGE_INIT”…”�”}”(hjz h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjr ubhŒ is enabled”…”�”}”(hjr h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mhjo ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjT ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mhjÿh²hubjJ)�”}”(hŒÏ``__lruvec`` Per-node lruvec holding LRU lists and related parameters. Used only when memory cgroups are disabled. It should not be accessed directly, use ``mem_cgroup_lruvec()`` to look up lruvecs instead. ”h]”(jP)�”}”(hŒ ``__lruvec``”h]”j,)�”}”(hj¤ h]”hŒ__lruvec”…”�”}”(hj¦ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¢ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M hjž ubji)�”}”(hhh]”hÞ)�”}”(hŒÁPer-node lruvec holding LRU lists and related parameters. Used only when memory cgroups are disabled. It should not be accessed directly, use ``mem_cgroup_lruvec()`` to look up lruvecs instead.”h]”(hŒŽPer-node lruvec holding LRU lists and related parameters. Used only when memory cgroups are disabled. It should not be accessed directly, use ”…”�”}”(hj¼ h²hh³Nh´Nubj,)�”}”(hŒ``mem_cgroup_lruvec()``”h]”hŒmem_cgroup_lruvec()”…”�”}”(hjÄ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¼ ubhŒ to look up lruvecs instead.”…”�”}”(hj¼ h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M hj¹ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjž ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M hjÿh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jDhjîh²hh³hÇh´Nubeh}”(h]”Œgeneral”ah ]”h"]”h$]”Œgeneral”ah&]”uh1hÈhj«h²hh³hÇh´KÓjKubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒReclaim control”h]”hŒReclaim control”…”�”}”(hjù h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjö h²hh³hÇh´MubhÞ)�”}”(hŒ+See also Documentation/mm/page_reclaim.rst.”h]”hŒ+See also Documentation/mm/page_reclaim.rst.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mhjö h²hubjE)�”}”(hhh]”(jJ)�”}”(hŒ6``kswapd`` Per-node instance of kswapd kernel thread. ”h]”(jP)�”}”(hŒ ``kswapd``”h]”j,)�”}”(hj h]”hŒkswapd”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Mhj ubji)�”}”(hhh]”hÞ)�”}”(hŒ*Per-node instance of kswapd kernel thread.”h]”hŒ*Per-node instance of kswapd kernel thread.”…”�”}”(hj6 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mhj3 ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mhj ubjJ)�”}”(hŒk``kswapd_wait``, ``pfmemalloc_wait``, ``reclaim_wait`` Workqueues used to synchronize memory reclaim tasks ”h]”(jP)�”}”(hŒ6``kswapd_wait``, ``pfmemalloc_wait``, ``reclaim_wait``”h]”(j,)�”}”(hŒ``kswapd_wait``”h]”hŒ kswapd_wait”…”�”}”(hjX h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjT ubhŒ, ”…”�”}”(hjT h²hh³Nh´Nubj,)�”}”(hŒ``pfmemalloc_wait``”h]”hŒpfmemalloc_wait”…”�”}”(hjj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjT ubhŒ, ”…”�”}”hjT sbj,)�”}”(hŒ``reclaim_wait``”h]”hŒ reclaim_wait”…”�”}”(hj| h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjT ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MhjP ubji)�”}”(hhh]”hÞ)�”}”(hŒ3Workqueues used to synchronize memory reclaim tasks”h]”hŒ3Workqueues used to synchronize memory reclaim tasks”…”�”}”(hj“ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mhj� ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjP ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mhj h²hubjJ)�”}”(hŒ_``nr_writeback_throttled`` Number of tasks that are throttled waiting on dirty pages to clean. ”h]”(jP)�”}”(hŒ``nr_writeback_throttled``”h]”j,)�”}”(hj³ h]”hŒnr_writeback_throttled”…”�”}”(hjµ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj± ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Mhj­ ubji)�”}”(hhh]”hÞ)�”}”(hŒCNumber of tasks that are throttled waiting on dirty pages to clean.”h]”hŒCNumber of tasks that are throttled waiting on dirty pages to clean.”…”�”}”(hjË h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MhjÈ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj­ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mhj h²hubjJ)�”}”(hŒ_``nr_reclaim_start`` Number of pages written while reclaim is throttled waiting for writeback. ”h]”(jP)�”}”(hŒ``nr_reclaim_start``”h]”j,)�”}”(hjë h]”hŒnr_reclaim_start”…”�”}”(hjí h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjé ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Mhjå ubji)�”}”(hhh]”hÞ)�”}”(hŒINumber of pages written while reclaim is throttled waiting for writeback.”h]”hŒINumber of pages written while reclaim is throttled waiting for writeback.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjå ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mhj h²hubjJ)�”}”(hŒ<``kswapd_order`` Controls the order kswapd tries to reclaim ”h]”(jP)�”}”(hŒ``kswapd_order``”h]”j,)�”}”(hj#h]”hŒ kswapd_order”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M hjubji)�”}”(hhh]”hÞ)�”}”(hŒ*Controls the order kswapd tries to reclaim”h]”hŒ*Controls the order kswapd tries to reclaim”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M hj8ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M hj h²hubjJ)�”}”(hŒL``kswapd_highest_zoneidx`` The highest zone index to be reclaimed by kswapd ”h]”(jP)�”}”(hŒ``kswapd_highest_zoneidx``”h]”j,)�”}”(hj[h]”hŒkswapd_highest_zoneidx”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjYubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M#hjUubji)�”}”(hhh]”hÞ)�”}”(hŒ0The highest zone index to be reclaimed by kswapd”h]”hŒ0The highest zone index to be reclaimed by kswapd”…”�”}”(hjsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M#hjpubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjUubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M#hj h²hubjJ)�”}”(hŒJ``kswapd_failures`` Number of runs kswapd was unable to reclaim any pages ”h]”(jP)�”}”(hŒ``kswapd_failures``”h]”j,)�”}”(hj“h]”hŒkswapd_failures”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M&hj�ubji)�”}”(hhh]”hÞ)�”}”(hŒ5Number of runs kswapd was unable to reclaim any pages”h]”hŒ5Number of runs kswapd was unable to reclaim any pages”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M&hj¨ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M&hj h²hubjJ)�”}”(hŒ¼``min_unmapped_pages`` Minimal number of unmapped file backed pages that cannot be reclaimed. Determined by ``vm.min_unmapped_ratio`` sysctl. Only defined when ``CONFIG_NUMA`` is enabled. ”h]”(jP)�”}”(hŒ``min_unmapped_pages``”h]”j,)�”}”(hjËh]”hŒmin_unmapped_pages”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÉubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M+hjÅubji)�”}”(hhh]”hÞ)�”}”(hŒ¤Minimal number of unmapped file backed pages that cannot be reclaimed. Determined by ``vm.min_unmapped_ratio`` sysctl. Only defined when ``CONFIG_NUMA`` is enabled.”h]”(hŒUMinimal number of unmapped file backed pages that cannot be reclaimed. Determined by ”…”�”}”(hjãh²hh³Nh´Nubj,)�”}”(hŒ``vm.min_unmapped_ratio``”h]”hŒvm.min_unmapped_ratio”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjãubhŒ sysctl. Only defined when ”…”�”}”(hjãh²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_NUMA``”h]”hŒ CONFIG_NUMA”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjãubhŒ is enabled.”…”�”}”(hjãh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M)hjàubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÅubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M+hj h²hubjJ)�”}”(hŒ£``min_slab_pages`` Minimal number of SLAB pages that cannot be reclaimed. Determined by ``vm.min_slab_ratio sysctl``. Only defined when ``CONFIG_NUMA`` is enabled ”h]”(jP)�”}”(hŒ``min_slab_pages``”h]”j,)�”}”(hj'h]”hŒmin_slab_pages”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj%ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M/hj!ubji)�”}”(hhh]”hÞ)�”}”(hŒ�Minimal number of SLAB pages that cannot be reclaimed. Determined by ``vm.min_slab_ratio sysctl``. Only defined when ``CONFIG_NUMA`` is enabled”h]”(hŒEMinimal number of SLAB pages that cannot be reclaimed. Determined by ”…”�”}”(hj?h²hh³Nh´Nubj,)�”}”(hŒ``vm.min_slab_ratio sysctl``”h]”hŒvm.min_slab_ratio sysctl”…”�”}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj?ubhŒ. Only defined when ”…”�”}”(hj?h²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_NUMA``”h]”hŒ CONFIG_NUMA”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj?ubhŒ is enabled”…”�”}”(hj?h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M.hj<ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj!ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M/hj h²hubjJ)�”}”(hŒ.``flags`` Flags controlling reclaim behavior. ”h]”(jP)�”}”(hŒ ``flags``”h]”j,)�”}”(hjƒh]”hŒflags”…”�”}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M2hj}ubji)�”}”(hhh]”hÞ)�”}”(hŒ#Flags controlling reclaim behavior.”h]”hŒ#Flags controlling reclaim behavior.”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M2hj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj}ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M2hj h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jDhjö h²hh³hÇh´Nubeh}”(h]”Œreclaim-control”ah ]”h"]”Œreclaim control”ah$]”h&]”uh1hÈhj«h²hh³hÇh´MubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒCompaction control”h]”hŒCompaction control”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÃh²hh³hÇh´M5ubjE)�”}”(hhh]”(jJ)�”}”(hŒI``kcompactd_max_order`` Page order that kcompactd should try to achieve. ”h]”(jP)�”}”(hŒ``kcompactd_max_order``”h]”j,)�”}”(hjÝh]”hŒkcompactd_max_order”…”�”}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÛubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M8hj×ubji)�”}”(hhh]”hÞ)�”}”(hŒ0Page order that kcompactd should try to achieve.”h]”hŒ0Page order that kcompactd should try to achieve.”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M8hjòubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M8hjÔubjJ)�”}”(hŒS``kcompactd_highest_zoneidx`` The highest zone index to be compacted by kcompactd. ”h]”(jP)�”}”(hŒ``kcompactd_highest_zoneidx``”h]”j,)�”}”(hjh]”hŒkcompactd_highest_zoneidx”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M;hjubji)�”}”(hhh]”hÞ)�”}”(hŒ4The highest zone index to be compacted by kcompactd.”h]”hŒ4The highest zone index to be compacted by kcompactd.”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M;hj*ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M;hjÔh²hubjJ)�”}”(hŒJ``kcompactd_wait`` Workqueue used to synchronize memory compaction tasks. ”h]”(jP)�”}”(hŒ``kcompactd_wait``”h]”j,)�”}”(hjMh]”hŒkcompactd_wait”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjKubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M>hjGubji)�”}”(hhh]”hÞ)�”}”(hŒ6Workqueue used to synchronize memory compaction tasks.”h]”hŒ6Workqueue used to synchronize memory compaction tasks.”…”�”}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M>hjbubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjGubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M>hjÔh²hubjJ)�”}”(hŒ<``kcompactd`` Per-node instance of kcompactd kernel thread. ”h]”(jP)�”}”(hŒ ``kcompactd``”h]”j,)�”}”(hj…h]”hŒ kcompactd”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MAhjubji)�”}”(hhh]”hÞ)�”}”(hŒ-Per-node instance of kcompactd kernel thread.”h]”hŒ-Per-node instance of kcompactd kernel thread.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MAhjšubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MAhjÔh²hubjJ)�”}”(hŒƒ``proactive_compact_trigger`` Determines if proactive compaction is enabled. Controlled by ``vm.compaction_proactiveness`` sysctl. ”h]”(jP)�”}”(hŒ``proactive_compact_trigger``”h]”j,)�”}”(hj½h]”hŒproactive_compact_trigger”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj»ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MEhj·ubji)�”}”(hhh]”hÞ)�”}”(hŒdDetermines if proactive compaction is enabled. Controlled by ``vm.compaction_proactiveness`` sysctl.”h]”(hŒ=Determines if proactive compaction is enabled. Controlled by ”…”�”}”(hjÕh²hh³Nh´Nubj,)�”}”(hŒ``vm.compaction_proactiveness``”h]”hŒvm.compaction_proactiveness”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÕubhŒ sysctl.”…”�”}”(hjÕh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MDhjÒubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj·ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MEhjÔh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jDhjÃh²hh³hÇh´Nubeh}”(h]”Œcompaction-control”ah ]”h"]”h$]”Œcompaction control”ah&]”uh1hÈhj«h²hh³hÇh´M5jKubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Statistics”h]”hŒ Statistics”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjh²hh³hÇh´MHubjE)�”}”(hhh]”(jJ)�”}”(hŒ9``per_cpu_nodestats`` Per-CPU VM statistics for the node ”h]”(jP)�”}”(hŒ``per_cpu_nodestats``”h]”j,)�”}”(hj)h]”hŒper_cpu_nodestats”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MKhj#ubji)�”}”(hhh]”hÞ)�”}”(hŒ"Per-CPU VM statistics for the node”h]”hŒ"Per-CPU VM statistics for the node”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MKhj>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj#ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MKhj ubjJ)�”}”(hŒ(``vm_stat`` VM statistics for the node. ”h]”(jP)�”}”(hŒ ``vm_stat``”h]”j,)�”}”(hjah]”hŒvm_stat”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj_ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MNhj[ubji)�”}”(hhh]”hÞ)�”}”(hŒVM statistics for the node.”h]”hŒVM statistics for the node.”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MNhjvubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MNhj h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jDhjh²hh³hÇh´Nubj )�”}”(hŒ .. _zones:”•h]”h}”(h]”h ]”h"]”h$]”h&]”j‰Œzones”uh1j h´MPhjh²hh³hÇubeh}”(h]”Œ statistics”ah ]”h"]”h$]”Œ statistics”ah&]”uh1hÈhj«h²hh³hÇh´MHjKubeh}”(h]”Œnode-structure”ah ]”h"]”Œnode structure”ah$]”h&]”uh1hÈhj‹h²hh³hÇh´KÌubeh}”(h]”(jŠŒid1”eh ]”h"]”Œnodes”ah$]”Œnodes”ah&]”uh1hÈhhÊh²hh³hÇh´K‹jKŒexpect_referenced_by_name”}”j¹jsŒexpect_referenced_by_id”}”jŠjsubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒZones”h]”hŒZones”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÁh²hh³hÇh´MSubhÞ)�”}”(hXAs we have mentioned, each zone in memory is described by a ``struct zone`` which is an element of the ``node_zones`` array of the node it belongs to. ``struct zone`` is the core data structure of the page allocator. A zone represents a range of physical memory and may have holes.”h]”(hŒ ``ZONE_NORMAL`` > ``ZONE_DMA32``.”h]”(hŒ+The page allocator uses the GFP flags, see ”…”�”}”(hjh²hh³Nh´Nubh)�”}”(hŒ:ref:`mm-api-gfp-flags`”h]”j¾)�”}”(hj h]”hŒmm-api-gfp-flags”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”(jÉŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j½hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jÖŒ refdomain”j,Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆjÜŒmm-api-gfp-flags”uh1hh³hÇh´MYhjubhX©, specified by a memory allocation to determine the highest zone in a node from which the memory allocation can allocate memory. The page allocator first allocates memory from that zone, if the page allocator can’t allocate the requested amount of memory from the zone, it will allocate memory from the next lower zone in the node, the process continues up to and including the lowest zone. For example, if a node contains ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_DMA32``”h]”hŒ ZONE_DMA32”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ, ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_NORMAL``”h]”hŒ ZONE_NORMAL”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ and ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_MOVABLE``”h]”hŒ ZONE_MOVABLE”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ0 and the highest zone of a memory allocation is ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_MOVABLE``”h]”hŒ ZONE_MOVABLE”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒK, the order of the zones from which the page allocator allocates memory is ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_MOVABLE``”h]”hŒ ZONE_MOVABLE”…”�”}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ > ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_NORMAL``”h]”hŒ ZONE_NORMAL”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ > ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_DMA32``”h]”hŒ ZONE_DMA32”…”�”}”(hj®h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MYhjÁh²hubhÞ)�”}”(hXËAt runtime, free pages in a zone are in the Per-CPU Pagesets (PCP) or free areas of the zone. The Per-CPU Pagesets are a vital mechanism in the kernel's memory management system. By handling most frequent allocations and frees locally on each CPU, the Per-CPU Pagesets improve performance and scalability, especially on systems with many cores. The page allocator in the kernel employs a two-step strategy for memory allocation, starting with the Per-CPU Pagesets before falling back to the buddy allocator. Pages are transferred between the Per-CPU Pagesets and the global free areas (managed by the buddy allocator) in batches. This minimizes the overhead of frequent interactions with the global buddy allocator.”h]”hXÍAt runtime, free pages in a zone are in the Per-CPU Pagesets (PCP) or free areas of the zone. The Per-CPU Pagesets are a vital mechanism in the kernel’s memory management system. By handling most frequent allocations and frees locally on each CPU, the Per-CPU Pagesets improve performance and scalability, especially on systems with many cores. The page allocator in the kernel employs a two-step strategy for memory allocation, starting with the Per-CPU Pagesets before falling back to the buddy allocator. Pages are transferred between the Per-CPU Pagesets and the global free areas (managed by the buddy allocator) in batches. This minimizes the overhead of frequent interactions with the global buddy allocator.”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MdhjÁh²hubhÞ)�”}”(hŒGArchitecture specific code calls free_area_init() to initializes zones.”h]”hŒGArchitecture specific code calls free_area_init() to initializes zones.”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MohjÁh²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒZone structure”h]”hŒZone structure”…”�”}”(hjåh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjâh²hh³hÇh´MrubhÞ)�”}”(hŒ€The zones structure ``struct zone`` is defined in ``include/linux/mmzone.h``. Here we briefly describe fields of this structure:”h]”(hŒThe zones structure ”…”�”}”(hjóh²hh³Nh´Nubj,)�”}”(hŒ``struct zone``”h]”hŒ struct zone”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjóubhŒ is defined in ”…”�”}”(hjóh²hh³Nh´Nubj,)�”}”(hŒ``include/linux/mmzone.h``”h]”hŒinclude/linux/mmzone.h”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjóubhŒ4. Here we briefly describe fields of this structure:”…”�”}”(hjóh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mshjâh²hubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒGeneral”h]”hŒGeneral”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj%h²hh³hÇh´MwubjE)�”}”(hhh]”(jJ)�”}”(hXI``_watermark`` The watermarks for this zone. When the amount of free pages in a zone is below the min watermark, boosting is ignored, an allocation may trigger direct reclaim and direct compaction, it is also used to throttle direct reclaim. When the amount of free pages in a zone is below the low watermark, kswapd is woken up. When the amount of free pages in a zone is above the high watermark, kswapd stops reclaiming (a zone is balanced) when the ``NUMA_BALANCING_MEMORY_TIERING`` bit of ``sysctl_numa_balancing_mode`` is not set. The promo watermark is used for memory tiering and NUMA balancing. When the amount of free pages in a zone is above the promo watermark, kswapd stops reclaiming when the ``NUMA_BALANCING_MEMORY_TIERING`` bit of ``sysctl_numa_balancing_mode`` is set. The watermarks are set by ``__setup_per_zone_wmarks()``. The min watermark is calculated according to ``vm.min_free_kbytes`` sysctl. The other three watermarks are set according to the distance between two watermarks. The distance itself is calculated taking ``vm.watermark_scale_factor`` sysctl into account. ”h]”(jP)�”}”(hŒ``_watermark``”h]”j,)�”}”(hj?h]”hŒ _watermark”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj=ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Mˆhj9ubji)�”}”(hhh]”hÞ)�”}”(hX9The watermarks for this zone. When the amount of free pages in a zone is below the min watermark, boosting is ignored, an allocation may trigger direct reclaim and direct compaction, it is also used to throttle direct reclaim. When the amount of free pages in a zone is below the low watermark, kswapd is woken up. When the amount of free pages in a zone is above the high watermark, kswapd stops reclaiming (a zone is balanced) when the ``NUMA_BALANCING_MEMORY_TIERING`` bit of ``sysctl_numa_balancing_mode`` is not set. The promo watermark is used for memory tiering and NUMA balancing. When the amount of free pages in a zone is above the promo watermark, kswapd stops reclaiming when the ``NUMA_BALANCING_MEMORY_TIERING`` bit of ``sysctl_numa_balancing_mode`` is set. The watermarks are set by ``__setup_per_zone_wmarks()``. The min watermark is calculated according to ``vm.min_free_kbytes`` sysctl. The other three watermarks are set according to the distance between two watermarks. The distance itself is calculated taking ``vm.watermark_scale_factor`` sysctl into account.”h]”(hX¶The watermarks for this zone. When the amount of free pages in a zone is below the min watermark, boosting is ignored, an allocation may trigger direct reclaim and direct compaction, it is also used to throttle direct reclaim. When the amount of free pages in a zone is below the low watermark, kswapd is woken up. When the amount of free pages in a zone is above the high watermark, kswapd stops reclaiming (a zone is balanced) when the ”…”�”}”(hjWh²hh³Nh´Nubj,)�”}”(hŒ!``NUMA_BALANCING_MEMORY_TIERING``”h]”hŒNUMA_BALANCING_MEMORY_TIERING”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjWubhŒ bit of ”…”�”}”(hjWh²hh³Nh´Nubj,)�”}”(hŒ``sysctl_numa_balancing_mode``”h]”hŒsysctl_numa_balancing_mode”…”�”}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjWubhŒ· is not set. The promo watermark is used for memory tiering and NUMA balancing. When the amount of free pages in a zone is above the promo watermark, kswapd stops reclaiming when the ”…”�”}”(hjWh²hh³Nh´Nubj,)�”}”(hŒ!``NUMA_BALANCING_MEMORY_TIERING``”h]”hŒNUMA_BALANCING_MEMORY_TIERING”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjWubhŒ bit of ”…”�”}”(hjWh²hh³Nh´Nubj,)�”}”(hŒ``sysctl_numa_balancing_mode``”h]”hŒsysctl_numa_balancing_mode”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjWubhŒ# is set. The watermarks are set by ”…”�”}”(hjWh²hh³Nh´Nubj,)�”}”(hŒ``__setup_per_zone_wmarks()``”h]”hŒ__setup_per_zone_wmarks()”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjWubhŒ/. The min watermark is calculated according to ”…”�”}”(hjWh²hh³Nh´Nubj,)�”}”(hŒ``vm.min_free_kbytes``”h]”hŒvm.min_free_kbytes”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjWubhŒ‡ sysctl. The other three watermarks are set according to the distance between two watermarks. The distance itself is calculated taking ”…”�”}”(hjWh²hh³Nh´Nubj,)�”}”(hŒ``vm.watermark_scale_factor``”h]”hŒvm.watermark_scale_factor”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjWubhŒ sysctl into account.”…”�”}”(hjWh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MzhjTubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj9ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mˆhj6ubjJ)�”}”(hŒñ``watermark_boost`` The number of pages which are used to boost watermarks to increase reclaim pressure to reduce the likelihood of future fallbacks and wake kswapd now as the node may be balanced overall and kswapd will not wake naturally. ”h]”(jP)�”}”(hŒ``watermark_boost``”h]”j,)�”}”(hjõh]”hŒwatermark_boost”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjóubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M�hjïubji)�”}”(hhh]”hÞ)�”}”(hŒÜThe number of pages which are used to boost watermarks to increase reclaim pressure to reduce the likelihood of future fallbacks and wake kswapd now as the node may be balanced overall and kswapd will not wake naturally.”h]”hŒÜThe number of pages which are used to boost watermarks to increase reclaim pressure to reduce the likelihood of future fallbacks and wake kswapd now as the node may be balanced overall and kswapd will not wake naturally.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M‹hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjïubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M�hj6h²hubjJ)�”}”(hŒe``nr_reserved_highatomic`` The number of pages which are reserved for high-order atomic allocations. ”h]”(jP)�”}”(hŒ``nr_reserved_highatomic``”h]”j,)�”}”(hj-h]”hŒnr_reserved_highatomic”…”�”}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M�hj'ubji)�”}”(hhh]”hÞ)�”}”(hŒIThe number of pages which are reserved for high-order atomic allocations.”h]”hŒIThe number of pages which are reserved for high-order atomic allocations.”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M�hjBubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M�hj6h²hubjJ)�”}”(hŒR``nr_free_highatomic`` The number of free pages in reserved highatomic pageblocks ”h]”(jP)�”}”(hŒ``nr_free_highatomic``”h]”j,)�”}”(hjeh]”hŒnr_free_highatomic”…”�”}”(hjgh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjcubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M“hj_ubji)�”}”(hhh]”hÞ)�”}”(hŒ:The number of free pages in reserved highatomic pageblocks”h]”hŒ:The number of free pages in reserved highatomic pageblocks”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M“hjzubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj_ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M“hj6h²hubjJ)�”}”(hXÕ``lowmem_reserve`` The array of the amounts of the memory reserved in this zone for memory allocations. For example, if the highest zone a memory allocation can allocate memory from is ``ZONE_MOVABLE``, the amount of memory reserved in this zone for this allocation is ``lowmem_reserve[ZONE_MOVABLE]`` when attempting to allocate memory from this zone. This is a mechanism the page allocator uses to prevent allocations which could use ``highmem`` from using too much ``lowmem``. For some specialised workloads on ``highmem`` machines, it is dangerous for the kernel to allow process memory to be allocated from the ``lowmem`` zone. This is because that memory could then be pinned via the ``mlock()`` system call, or by unavailability of swapspace. ``vm.lowmem_reserve_ratio`` sysctl determines how aggressive the kernel is in defending these lower zones. This array is recalculated by ``setup_per_zone_lowmem_reserve()`` at runtime if ``vm.lowmem_reserve_ratio`` sysctl changes. ”h]”(jP)�”}”(hŒ``lowmem_reserve``”h]”j,)�”}”(hj�h]”hŒlowmem_reserve”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj›ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M£hj—ubji)�”}”(hhh]”hÞ)�”}”(hXÁThe array of the amounts of the memory reserved in this zone for memory allocations. For example, if the highest zone a memory allocation can allocate memory from is ``ZONE_MOVABLE``, the amount of memory reserved in this zone for this allocation is ``lowmem_reserve[ZONE_MOVABLE]`` when attempting to allocate memory from this zone. This is a mechanism the page allocator uses to prevent allocations which could use ``highmem`` from using too much ``lowmem``. For some specialised workloads on ``highmem`` machines, it is dangerous for the kernel to allow process memory to be allocated from the ``lowmem`` zone. This is because that memory could then be pinned via the ``mlock()`` system call, or by unavailability of swapspace. ``vm.lowmem_reserve_ratio`` sysctl determines how aggressive the kernel is in defending these lower zones. This array is recalculated by ``setup_per_zone_lowmem_reserve()`` at runtime if ``vm.lowmem_reserve_ratio`` sysctl changes.”h]”(hŒ¦The array of the amounts of the memory reserved in this zone for memory allocations. For example, if the highest zone a memory allocation can allocate memory from is ”…”�”}”(hjµh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_MOVABLE``”h]”hŒ ZONE_MOVABLE”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjµubhŒD, the amount of memory reserved in this zone for this allocation is ”…”�”}”(hjµh²hh³Nh´Nubj,)�”}”(hŒ ``lowmem_reserve[ZONE_MOVABLE]``”h]”hŒlowmem_reserve[ZONE_MOVABLE]”…”�”}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjµubhŒ‡ when attempting to allocate memory from this zone. This is a mechanism the page allocator uses to prevent allocations which could use ”…”�”}”(hjµh²hh³Nh´Nubj,)�”}”(hŒ ``highmem``”h]”hŒhighmem”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjµubhŒ from using too much ”…”�”}”(hjµh²hh³Nh´Nubj,)�”}”(hŒ ``lowmem``”h]”hŒlowmem”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjµubhŒ$. For some specialised workloads on ”…”�”}”(hjµh²hh³Nh´Nubj,)�”}”(hŒ ``highmem``”h]”hŒhighmem”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjµubhŒ[ machines, it is dangerous for the kernel to allow process memory to be allocated from the ”…”�”}”(hjµh²hh³Nh´Nubj,)�”}”(hŒ ``lowmem``”h]”hŒlowmem”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjµubhŒ@ zone. This is because that memory could then be pinned via the ”…”�”}”(hjµh²hh³Nh´Nubj,)�”}”(hŒ ``mlock()``”h]”hŒmlock()”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjµubhŒ1 system call, or by unavailability of swapspace. ”…”�”}”(hjµh²hh³Nh´Nubj,)�”}”(hŒ``vm.lowmem_reserve_ratio``”h]”hŒvm.lowmem_reserve_ratio”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjµubhŒn sysctl determines how aggressive the kernel is in defending these lower zones. This array is recalculated by ”…”�”}”(hjµh²hh³Nh´Nubj,)�”}”(hŒ#``setup_per_zone_lowmem_reserve()``”h]”hŒsetup_per_zone_lowmem_reserve()”…”�”}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjµubhŒ at runtime if ”…”�”}”(hjµh²hh³Nh´Nubj,)�”}”(hŒ``vm.lowmem_reserve_ratio``”h]”hŒvm.lowmem_reserve_ratio”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjµubhŒ sysctl changes.”…”�”}”(hjµh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M–hj²ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj—ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M£hj6h²hubjJ)�”}”(hŒ”``node`` The index of the node this zone belongs to. Available only when ``CONFIG_NUMA`` is enabled because there is only one zone in a UMA system. ”h]”(jP)�”}”(hŒ``node``”h]”j,)�”}”(hj‰h]”hŒnode”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj‡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M§hjƒubji)�”}”(hhh]”hÞ)�”}”(hŒŠThe index of the node this zone belongs to. Available only when ``CONFIG_NUMA`` is enabled because there is only one zone in a UMA system.”h]”(hŒ@The index of the node this zone belongs to. Available only when ”…”�”}”(hj¡h²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_NUMA``”h]”hŒ CONFIG_NUMA”…”�”}”(hj©h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¡ubhŒ; is enabled because there is only one zone in a UMA system.”…”�”}”(hj¡h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M¦hjžubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjƒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M§hj6h²hubjJ)�”}”(hŒW``zone_pgdat`` Pointer to the ``struct pglist_data`` of the node this zone belongs to. ”h]”(jP)�”}”(hŒ``zone_pgdat``”h]”j,)�”}”(hjÓh]”hŒ zone_pgdat”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MªhjÍubji)�”}”(hhh]”hÞ)�”}”(hŒGPointer to the ``struct pglist_data`` of the node this zone belongs to.”h]”(hŒPointer to the ”…”�”}”(hjëh²hh³Nh´Nubj,)�”}”(hŒ``struct pglist_data``”h]”hŒstruct pglist_data”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjëubhŒ" of the node this zone belongs to.”…”�”}”(hjëh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mªhjèubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÍubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mªhj6h²hubjJ)�”}”(hŒû``per_cpu_pageset`` Pointer to the Per-CPU Pagesets (PCP) allocated and initialized by ``setup_zone_pageset()``. By handling most frequent allocations and frees locally on each CPU, PCP improves performance and scalability on systems with many cores. ”h]”(jP)�”}”(hŒ``per_cpu_pageset``”h]”j,)�”}”(hjh]”hŒper_cpu_pageset”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M°hjubji)�”}”(hhh]”hÞ)�”}”(hŒæPointer to the Per-CPU Pagesets (PCP) allocated and initialized by ``setup_zone_pageset()``. By handling most frequent allocations and frees locally on each CPU, PCP improves performance and scalability on systems with many cores.”h]”(hŒCPointer to the Per-CPU Pagesets (PCP) allocated and initialized by ”…”�”}”(hj5h²hh³Nh´Nubj,)�”}”(hŒ``setup_zone_pageset()``”h]”hŒsetup_zone_pageset()”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj5ubhŒ‹. By handling most frequent allocations and frees locally on each CPU, PCP improves performance and scalability on systems with many cores.”…”�”}”(hj5h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M­hj2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M°hj6h²hubjJ)�”}”(hŒ[``pageset_high_min`` Copied to the ``high_min`` of the Per-CPU Pagesets for faster access. ”h]”(jP)�”}”(hŒ``pageset_high_min``”h]”j,)�”}”(hjgh]”hŒpageset_high_min”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjeubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M³hjaubji)�”}”(hhh]”hÞ)�”}”(hŒECopied to the ``high_min`` of the Per-CPU Pagesets for faster access.”h]”(hŒCopied to the ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ ``high_min``”h]”hŒhigh_min”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ+ of the Per-CPU Pagesets for faster access.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M³hj|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjaubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M³hj6h²hubjJ)�”}”(hŒ[``pageset_high_max`` Copied to the ``high_max`` of the Per-CPU Pagesets for faster access. ”h]”(jP)�”}”(hŒ``pageset_high_max``”h]”j,)�”}”(hj±h]”hŒpageset_high_max”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¯ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M¶hj«ubji)�”}”(hhh]”hÞ)�”}”(hŒECopied to the ``high_max`` of the Per-CPU Pagesets for faster access.”h]”(hŒCopied to the ”…”�”}”(hjÉh²hh³Nh´Nubj,)�”}”(hŒ ``high_max``”h]”hŒhigh_max”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÉubhŒ+ of the Per-CPU Pagesets for faster access.”…”�”}”(hjÉh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M¶hjÆubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj«ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M¶hj6h²hubjJ)�”}”(hX›``pageset_batch`` Copied to the ``batch`` of the Per-CPU Pagesets for faster access. The ``batch``, ``high_min`` and ``high_max`` of the Per-CPU Pagesets are used to calculate the number of elements the Per-CPU Pagesets obtain from the buddy allocator under a single hold of the lock for efficiency. They are also used to decide if the Per-CPU Pagesets return pages to the buddy allocator in page free process. ”h]”(jP)�”}”(hŒ``pageset_batch``”h]”j,)�”}”(hjûh]”hŒ pageset_batch”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjùubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M¾hjõubji)�”}”(hhh]”hÞ)�”}”(hXˆCopied to the ``batch`` of the Per-CPU Pagesets for faster access. The ``batch``, ``high_min`` and ``high_max`` of the Per-CPU Pagesets are used to calculate the number of elements the Per-CPU Pagesets obtain from the buddy allocator under a single hold of the lock for efficiency. They are also used to decide if the Per-CPU Pagesets return pages to the buddy allocator in page free process.”h]”(hŒCopied to the ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ ``batch``”h]”hŒbatch”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ0 of the Per-CPU Pagesets for faster access. The ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ ``batch``”h]”hŒbatch”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ, ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ ``high_min``”h]”hŒhigh_min”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhŒ and ”…”�”}”(hjh²hh³Nh´Nubj,)�”}”(hŒ ``high_max``”h]”hŒhigh_max”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubhX of the Per-CPU Pagesets are used to calculate the number of elements the Per-CPU Pagesets obtain from the buddy allocator under a single hold of the lock for efficiency. They are also used to decide if the Per-CPU Pagesets return pages to the buddy allocator in page free process.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M¹hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjõubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M¾hj6h²hubjJ)�”}”(hXg``pageblock_flags`` The pointer to the flags for the pageblocks in the zone (see ``include/linux/pageblock-flags.h`` for flags list). The memory is allocated in ``setup_usemap()``. Each pageblock occupies ``NR_PAGEBLOCK_BITS`` bits. Defined only when ``CONFIG_FLATMEM`` is enabled. The flags is stored in ``mem_section`` when ``CONFIG_SPARSEMEM`` is enabled. ”h]”(jP)�”}”(hŒ``pageblock_flags``”h]”j,)�”}”(hj{h]”hŒpageblock_flags”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjyubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MÅhjuubji)�”}”(hhh]”hÞ)�”}”(hXRThe pointer to the flags for the pageblocks in the zone (see ``include/linux/pageblock-flags.h`` for flags list). The memory is allocated in ``setup_usemap()``. Each pageblock occupies ``NR_PAGEBLOCK_BITS`` bits. Defined only when ``CONFIG_FLATMEM`` is enabled. The flags is stored in ``mem_section`` when ``CONFIG_SPARSEMEM`` is enabled.”h]”(hŒ=The pointer to the flags for the pageblocks in the zone (see ”…”�”}”(hj“h²hh³Nh´Nubj,)�”}”(hŒ#``include/linux/pageblock-flags.h``”h]”hŒinclude/linux/pageblock-flags.h”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj“ubhŒ- for flags list). The memory is allocated in ”…”�”}”(hj“h²hh³Nh´Nubj,)�”}”(hŒ``setup_usemap()``”h]”hŒsetup_usemap()”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj“ubhŒ. Each pageblock occupies ”…”�”}”(hj“h²hh³Nh´Nubj,)�”}”(hŒ``NR_PAGEBLOCK_BITS``”h]”hŒNR_PAGEBLOCK_BITS”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj“ubhŒ bits. Defined only when ”…”�”}”(hj“h²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_FLATMEM``”h]”hŒCONFIG_FLATMEM”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj“ubhŒ$ is enabled. The flags is stored in ”…”�”}”(hj“h²hh³Nh´Nubj,)�”}”(hŒ``mem_section``”h]”hŒ mem_section”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj“ubhŒ when ”…”�”}”(hj“h²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_SPARSEMEM``”h]”hŒCONFIG_SPARSEMEM”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj“ubhŒ is enabled.”…”�”}”(hj“h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MÁhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjuubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MÅhj6h²hubjJ)�”}”(hŒd``zone_start_pfn`` The start pfn of the zone. It is initialized by ``calculate_node_totalpages()``. ”h]”(jP)�”}”(hŒ``zone_start_pfn``”h]”j,)�”}”(hjh]”hŒzone_start_pfn”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MÉhjubji)�”}”(hhh]”hÞ)�”}”(hŒPThe start pfn of the zone. It is initialized by ``calculate_node_totalpages()``.”h]”(hŒ0The start pfn of the zone. It is initialized by ”…”�”}”(hj7h²hh³Nh´Nubj,)�”}”(hŒ``calculate_node_totalpages()``”h]”hŒcalculate_node_totalpages()”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj7ubhŒ.”…”�”}”(hj7h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MÈhj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MÉhj6h²hubjJ)�”}”(hXú``managed_pages`` The present pages managed by the buddy system, which is calculated as: ``managed_pages`` = ``present_pages`` - ``reserved_pages``, ``reserved_pages`` includes pages allocated by the memblock allocator. It should be used by page allocator and vm scanner to calculate all kinds of watermarks and thresholds. It is accessed using ``atomic_long_xxx()`` functions. It is initialized in ``free_area_init_core()`` and then is reinitialized when memblock allocator frees pages into buddy system. ”h]”(jP)�”}”(hŒ``managed_pages``”h]”j,)�”}”(hjih]”hŒ managed_pages”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjgubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MÒhjcubji)�”}”(hhh]”hÞ)�”}”(hXçThe present pages managed by the buddy system, which is calculated as: ``managed_pages`` = ``present_pages`` - ``reserved_pages``, ``reserved_pages`` includes pages allocated by the memblock allocator. It should be used by page allocator and vm scanner to calculate all kinds of watermarks and thresholds. It is accessed using ``atomic_long_xxx()`` functions. It is initialized in ``free_area_init_core()`` and then is reinitialized when memblock allocator frees pages into buddy system.”h]”(hŒGThe present pages managed by the buddy system, which is calculated as: ”…”�”}”(hj�h²hh³Nh´Nubj,)�”}”(hŒ``managed_pages``”h]”hŒ managed_pages”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubhŒ = ”…”�”}”(hj�h²hh³Nh´Nubj,)�”}”(hŒ``present_pages``”h]”hŒ present_pages”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubhŒ - ”…”�”}”(hj�h²hh³Nh´Nubj,)�”}”(hŒ``reserved_pages``”h]”hŒreserved_pages”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubhŒ, ”…”�”}”(hj�h²hh³Nh´Nubj,)�”}”(hŒ``reserved_pages``”h]”hŒreserved_pages”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubhŒ² includes pages allocated by the memblock allocator. It should be used by page allocator and vm scanner to calculate all kinds of watermarks and thresholds. It is accessed using ”…”�”}”(hj�h²hh³Nh´Nubj,)�”}”(hŒ``atomic_long_xxx()``”h]”hŒatomic_long_xxx()”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubhŒ! functions. It is initialized in ”…”�”}”(hj�h²hh³Nh´Nubj,)�”}”(hŒ``free_area_init_core()``”h]”hŒfree_area_init_core()”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj�ubhŒQ and then is reinitialized when memblock allocator frees pages into buddy system.”…”�”}”(hj�h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MÌhj~ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjcubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MÒhj6h²hubjJ)�”}”(hŒÑ``spanned_pages`` The total pages spanned by the zone, including holes, which is calculated as: ``spanned_pages`` = ``zone_end_pfn`` - ``zone_start_pfn``. It is initialized by ``calculate_node_totalpages()``. ”h]”(jP)�”}”(hŒ``spanned_pages``”h]”j,)�”}”(hj h]”hŒ spanned_pages”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M×hjubji)�”}”(hhh]”hÞ)�”}”(hŒ¾The total pages spanned by the zone, including holes, which is calculated as: ``spanned_pages`` = ``zone_end_pfn`` - ``zone_start_pfn``. It is initialized by ``calculate_node_totalpages()``.”h]”(hŒNThe total pages spanned by the zone, including holes, which is calculated as: ”…”�”}”(hj%h²hh³Nh´Nubj,)�”}”(hŒ``spanned_pages``”h]”hŒ spanned_pages”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj%ubhŒ = ”…”�”}”(hj%h²hh³Nh´Nubj,)�”}”(hŒ``zone_end_pfn``”h]”hŒ zone_end_pfn”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj%ubhŒ - ”…”�”}”(hj%h²hh³Nh´Nubj,)�”}”(hŒ``zone_start_pfn``”h]”hŒzone_start_pfn”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj%ubhŒ. It is initialized by ”…”�”}”(hj%h²hh³Nh´Nubj,)�”}”(hŒ``calculate_node_totalpages()``”h]”hŒcalculate_node_totalpages()”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj%ubhŒ.”…”�”}”(hj%h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MÕhj"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M×hj6h²hubjJ)�”}”(hX@``present_pages`` The physical pages existing within the zone, which is calculated as: ``present_pages`` = ``spanned_pages`` - ``absent_pages`` (pages in holes). It may be used by memory hotplug or memory power management logic to figure out unmanaged pages by checking (``present_pages`` - ``managed_pages``). Write access to ``present_pages`` at runtime should be protected by ``mem_hotplug_begin/done()``. Any reader who can't tolerant drift of ``present_pages`` should use ``get_online_mems()`` to get a stable value. It is initialized by ``calculate_node_totalpages()``. ”h]”(jP)�”}”(hŒ``present_pages``”h]”j,)�”}”(hj�h]”hŒ present_pages”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Máhj‡ubji)�”}”(hhh]”hÞ)�”}”(hX-The physical pages existing within the zone, which is calculated as: ``present_pages`` = ``spanned_pages`` - ``absent_pages`` (pages in holes). It may be used by memory hotplug or memory power management logic to figure out unmanaged pages by checking (``present_pages`` - ``managed_pages``). Write access to ``present_pages`` at runtime should be protected by ``mem_hotplug_begin/done()``. Any reader who can't tolerant drift of ``present_pages`` should use ``get_online_mems()`` to get a stable value. It is initialized by ``calculate_node_totalpages()``.”h]”(hŒEThe physical pages existing within the zone, which is calculated as: ”…”�”}”(hj¥h²hh³Nh´Nubj,)�”}”(hŒ``present_pages``”h]”hŒ present_pages”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¥ubhŒ = ”…”�”}”(hj¥h²hh³Nh´Nubj,)�”}”(hŒ``spanned_pages``”h]”hŒ spanned_pages”…”�”}”(hj¿h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¥ubhŒ - ”…”�”}”(hj¥h²hh³Nh´Nubj,)�”}”(hŒ``absent_pages``”h]”hŒ absent_pages”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¥ubhŒ€ (pages in holes). It may be used by memory hotplug or memory power management logic to figure out unmanaged pages by checking (”…”�”}”(hj¥h²hh³Nh´Nubj,)�”}”(hŒ``present_pages``”h]”hŒ present_pages”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¥ubhŒ - ”…”�”}”hj¥sbj,)�”}”(hŒ``managed_pages``”h]”hŒ managed_pages”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¥ubhŒ). Write access to ”…”�”}”(hj¥h²hh³Nh´Nubj,)�”}”(hŒ``present_pages``”h]”hŒ present_pages”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¥ubhŒ# at runtime should be protected by ”…”�”}”(hj¥h²hh³Nh´Nubj,)�”}”(hŒ``mem_hotplug_begin/done()``”h]”hŒmem_hotplug_begin/done()”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¥ubhŒ+. Any reader who can’t tolerant drift of ”…”�”}”(hj¥h²hh³Nh´Nubj,)�”}”(hŒ``present_pages``”h]”hŒ present_pages”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¥ubhŒ should use ”…”�”}”(hj¥h²hh³Nh´Nubj,)�”}”(hŒ``get_online_mems()``”h]”hŒget_online_mems()”…”�”}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¥ubhŒ- to get a stable value. It is initialized by ”…”�”}”(hj¥h²hh³Nh´Nubj,)�”}”(hŒ``calculate_node_totalpages()``”h]”hŒcalculate_node_totalpages()”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¥ubhŒ.”…”�”}”(hj¥h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MÚhj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj‡ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Máhj6h²hubjJ)�”}”(hŒù``present_early_pages`` The present pages existing within the zone located on memory available since early boot, excluding hotplugged memory. Defined only when ``CONFIG_MEMORY_HOTPLUG`` is enabled and initialized by ``calculate_node_totalpages()``. ”h]”(jP)�”}”(hŒ``present_early_pages``”h]”j,)�”}”(hjyh]”hŒpresent_early_pages”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjwubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Mçhjsubji)�”}”(hhh]”hÞ)�”}”(hŒàThe present pages existing within the zone located on memory available since early boot, excluding hotplugged memory. Defined only when ``CONFIG_MEMORY_HOTPLUG`` is enabled and initialized by ``calculate_node_totalpages()``.”h]”(hŒˆThe present pages existing within the zone located on memory available since early boot, excluding hotplugged memory. Defined only when ”…”�”}”(hj‘h²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_MEMORY_HOTPLUG``”h]”hŒCONFIG_MEMORY_HOTPLUG”…”�”}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj‘ubhŒ is enabled and initialized by ”…”�”}”(hj‘h²hh³Nh´Nubj,)�”}”(hŒ``calculate_node_totalpages()``”h]”hŒcalculate_node_totalpages()”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj‘ubhŒ.”…”�”}”(hj‘h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MähjŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjsubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mçhj6h²hubjJ)�”}”(hŒ¤``cma_pages`` The pages reserved for CMA use. These pages behave like ``ZONE_MOVABLE`` when they are not used for CMA. Defined only when ``CONFIG_CMA`` is enabled. ”h]”(jP)�”}”(hŒ ``cma_pages``”h]”j,)�”}”(hjÕh]”hŒ cma_pages”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÓubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MëhjÏubji)�”}”(hhh]”hÞ)�”}”(hŒ•The pages reserved for CMA use. These pages behave like ``ZONE_MOVABLE`` when they are not used for CMA. Defined only when ``CONFIG_CMA`` is enabled.”h]”(hŒ8The pages reserved for CMA use. These pages behave like ”…”�”}”(hjíh²hh³Nh´Nubj,)�”}”(hŒ``ZONE_MOVABLE``”h]”hŒ ZONE_MOVABLE”…”�”}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjíubhŒ3 when they are not used for CMA. Defined only when ”…”�”}”(hjíh²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_CMA``”h]”hŒ CONFIG_CMA”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjíubhŒ is enabled.”…”�”}”(hjíh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mêhjêubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÏubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mëhj6h²hubjJ)�”}”(hŒi``name`` The name of the zone. It is a pointer to the corresponding element of the ``zone_names`` array. ”h]”(jP)�”}”(hŒ``name``”h]”j,)�”}”(hj1h]”hŒname”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Mïhj+ubji)�”}”(hhh]”hÞ)�”}”(hŒ_The name of the zone. It is a pointer to the corresponding element of the ``zone_names`` array.”h]”(hŒJThe name of the zone. It is a pointer to the corresponding element of the ”…”�”}”(hjIh²hh³Nh´Nubj,)�”}”(hŒ``zone_names``”h]”hŒ zone_names”…”�”}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjIubhŒ array.”…”�”}”(hjIh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MîhjFubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mïhj6h²hubjJ)�”}”(hŒø``nr_isolate_pageblock`` Number of isolated pageblocks. It is used to solve incorrect freepage counting problem due to racy retrieving migratetype of pageblock. Protected by ``zone->lock``. Defined only when ``CONFIG_MEMORY_ISOLATION`` is enabled. ”h]”(jP)�”}”(hŒ``nr_isolate_pageblock``”h]”j,)�”}”(hj{h]”hŒnr_isolate_pageblock”…”�”}”(hj}h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjyubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Môhjuubji)�”}”(hhh]”hÞ)�”}”(hŒÞNumber of isolated pageblocks. It is used to solve incorrect freepage counting problem due to racy retrieving migratetype of pageblock. Protected by ``zone->lock``. Defined only when ``CONFIG_MEMORY_ISOLATION`` is enabled.”h]”(hŒ•Number of isolated pageblocks. It is used to solve incorrect freepage counting problem due to racy retrieving migratetype of pageblock. Protected by ”…”�”}”(hj“h²hh³Nh´Nubj,)�”}”(hŒ``zone->lock``”h]”hŒ zone->lock”…”�”}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj“ubhŒ. Defined only when ”…”�”}”(hj“h²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_MEMORY_ISOLATION``”h]”hŒCONFIG_MEMORY_ISOLATION”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj“ubhŒ is enabled.”…”�”}”(hj“h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mòhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjuubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Môhj6h²hubjJ)�”}”(hX.``span_seqlock`` The seqlock to protect ``zone_start_pfn`` and ``spanned_pages``. It is a seqlock because it has to be read outside of ``zone->lock``, and it is done in the main allocator path. However, the seqlock is written quite infrequently. Defined only when ``CONFIG_MEMORY_HOTPLUG`` is enabled. ”h]”(jP)�”}”(hŒ``span_seqlock``”h]”j,)�”}”(hj×h]”hŒ span_seqlock”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjÕubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MúhjÑubji)�”}”(hhh]”hÞ)�”}”(hXThe seqlock to protect ``zone_start_pfn`` and ``spanned_pages``. It is a seqlock because it has to be read outside of ``zone->lock``, and it is done in the main allocator path. However, the seqlock is written quite infrequently. Defined only when ``CONFIG_MEMORY_HOTPLUG`` is enabled.”h]”(hŒThe seqlock to protect ”…”�”}”(hjïh²hh³Nh´Nubj,)�”}”(hŒ``zone_start_pfn``”h]”hŒzone_start_pfn”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjïubhŒ and ”…”�”}”(hjïh²hh³Nh´Nubj,)�”}”(hŒ``spanned_pages``”h]”hŒ spanned_pages”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjïubhŒ7. It is a seqlock because it has to be read outside of ”…”�”}”(hjïh²hh³Nh´Nubj,)�”}”(hŒ``zone->lock``”h]”hŒ zone->lock”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjïubhŒs, and it is done in the main allocator path. However, the seqlock is written quite infrequently. Defined only when ”…”�”}”(hjïh²hh³Nh´Nubj,)�”}”(hŒ``CONFIG_MEMORY_HOTPLUG``”h]”hŒCONFIG_MEMORY_HOTPLUG”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjïubhŒ is enabled.”…”�”}”(hjïh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M÷hjìubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjÑubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Múhj6h²hubjJ)�”}”(hŒt``initialized`` The flag indicating if the zone is initialized. Set by ``init_currently_empty_zone()`` during boot. ”h]”(jP)�”}”(hŒ``initialized``”h]”j,)�”}”(hjWh]”hŒ initialized”…”�”}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjUubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MþhjQubji)�”}”(hhh]”hÞ)�”}”(hŒcThe flag indicating if the zone is initialized. Set by ``init_currently_empty_zone()`` during boot.”h]”(hŒ7The flag indicating if the zone is initialized. Set by ”…”�”}”(hjoh²hh³Nh´Nubj,)�”}”(hŒ``init_currently_empty_zone()``”h]”hŒinit_currently_empty_zone()”…”�”}”(hjwh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjoubhŒ during boot.”…”�”}”(hjoh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mýhjlubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjQubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mþhj6h²hubjJ)�”}”(hX ``free_area`` The array of free areas, where each element corresponds to a specific order which is a power of two. The buddy allocator uses this structure to manage free memory efficiently. When allocating, it tries to find the smallest sufficient block, if the smallest sufficient block is larger than the requested size, it will be recursively split into the next smaller blocks until the required size is reached. When a page is freed, it may be merged with its buddy to form a larger block. It is initialized by ``zone_init_free_lists()``. ”h]”(jP)�”}”(hŒ ``free_area``”h]”j,)�”}”(hj¡h]”hŒ free_area”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjŸubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´Mhj›ubji)�”}”(hhh]”hÞ)�”}”(hXThe array of free areas, where each element corresponds to a specific order which is a power of two. The buddy allocator uses this structure to manage free memory efficiently. When allocating, it tries to find the smallest sufficient block, if the smallest sufficient block is larger than the requested size, it will be recursively split into the next smaller blocks until the required size is reached. When a page is freed, it may be merged with its buddy to form a larger block. It is initialized by ``zone_init_free_lists()``.”h]”(hXöThe array of free areas, where each element corresponds to a specific order which is a power of two. The buddy allocator uses this structure to manage free memory efficiently. When allocating, it tries to find the smallest sufficient block, if the smallest sufficient block is larger than the requested size, it will be recursively split into the next smaller blocks until the required size is reached. When a page is freed, it may be merged with its buddy to form a larger block. It is initialized by ”…”�”}”(hj¹h²hh³Nh´Nubj,)�”}”(hŒ``zone_init_free_lists()``”h]”hŒzone_init_free_lists()”…”�”}”(hjÁh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¹ubhŒ.”…”�”}”(hj¹h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mhj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´Mhj6h²hubjJ)�”}”(hŒ ``unaccepted_pages`` The list of pages to be accepted. All pages on the list are ``MAX_PAGE_ORDER``. Defined only when ``CONFIG_UNACCEPTED_MEMORY`` is enabled. ”h]”(jP)�”}”(hŒ``unaccepted_pages``”h]”j,)�”}”(hjëh]”hŒunaccepted_pages”…”�”}”(hjíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjéubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M hjåubji)�”}”(hhh]”hÞ)�”}”(hŒŠThe list of pages to be accepted. All pages on the list are ``MAX_PAGE_ORDER``. Defined only when ``CONFIG_UNACCEPTED_MEMORY`` is enabled.”h]”(hŒhj¥ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjŠ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MAhjsh²hubjJ)�”}”(hŒá``compact_order_failed`` The minimum compaction failed order. It is set in ``compaction_defer_reset()`` when a compaction succeeds and in ``defer_compaction()`` when a compaction fails to result in a page allocation success. ”h]”(jP)�”}”(hŒ``compact_order_failed``”h]”j,)�”}”(hj!h]”hŒcompact_order_failed”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MFhj !ubji)�”}”(hhh]”hÞ)�”}”(hŒÇThe minimum compaction failed order. It is set in ``compaction_defer_reset()`` when a compaction succeeds and in ``defer_compaction()`` when a compaction fails to result in a page allocation success.”h]”(hŒ2The minimum compaction failed order. It is set in ”…”�”}”(hj(!h²hh³Nh´Nubj,)�”}”(hŒ``compaction_defer_reset()``”h]”hŒcompaction_defer_reset()”…”�”}”(hj0!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj(!ubhŒ# when a compaction succeeds and in ”…”�”}”(hj(!h²hh³Nh´Nubj,)�”}”(hŒ``defer_compaction()``”h]”hŒdefer_compaction()”…”�”}”(hjB!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj(!ubhŒ@ when a compaction fails to result in a page allocation success.”…”�”}”(hj(!h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MDhj%!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj !ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MFhjsh²hubjJ)�”}”(hŒ�``compact_blockskip_flush`` Set to true when compaction migration scanner and free scanner meet, which means the ``PB_compact_skip`` bits should be cleared. ”h]”(jP)�”}”(hŒ``compact_blockskip_flush``”h]”j,)�”}”(hjl!h]”hŒcompact_blockskip_flush”…”�”}”(hjn!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MJhjf!ubji)�”}”(hhh]”hÞ)�”}”(hŒ€Set to true when compaction migration scanner and free scanner meet, which means the ``PB_compact_skip`` bits should be cleared.”h]”(hŒUSet to true when compaction migration scanner and free scanner meet, which means the ”…”�”}”(hj„!h²hh³Nh´Nubj,)�”}”(hŒ``PB_compact_skip``”h]”hŒPB_compact_skip”…”�”}”(hjŒ!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj„!ubhŒ bits should be cleared.”…”�”}”(hj„!h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MIhj�!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjf!ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MJhjsh²hubjJ)�”}”(hŒR``contiguous`` Set to true when the zone is contiguous (in other words, no hole). ”h]”(jP)�”}”(hŒ``contiguous``”h]”j,)�”}”(hj¶!h]”hŒ contiguous”…”�”}”(hj¸!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj´!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MMhj°!ubji)�”}”(hhh]”hÞ)�”}”(hŒBSet to true when the zone is contiguous (in other words, no hole).”h]”hŒBSet to true when the zone is contiguous (in other words, no hole).”…”�”}”(hjÎ!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MMhjË!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj°!ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MMhjsh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jDhjbh²hh³hÇh´Nubeh}”(h]”Œid4”ah ]”•»/h"]”h$]”j ah&]”uh1hÈhjâh²hh³hÇh´MjKubhÉ)�”}”(hhh]”(hÎ)�”}”(hŒ Statistics”h]”hŒ Statistics”…”�”}”(hjø!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjõ!h²hh³hÇh´MPubjE)�”}”(hhh]”(jJ)�”}”(hŒb``vm_stat`` VM statistics for the zone. The items tracked are defined by ``enum zone_stat_item``. ”h]”(jP)�”}”(hŒ ``vm_stat``”h]”j,)�”}”(hj"h]”hŒvm_stat”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj "ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MThj "ubji)�”}”(hhh]”hÞ)�”}”(hŒUVM statistics for the zone. The items tracked are defined by ``enum zone_stat_item``.”h]”(hŒ=VM statistics for the zone. The items tracked are defined by ”…”�”}”(hj'"h²hh³Nh´Nubj,)�”}”(hŒ``enum zone_stat_item``”h]”hŒenum zone_stat_item”…”�”}”(hj/"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj'"ubhŒ.”…”�”}”(hj'"h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MShj$"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj "ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MThj"ubjJ)�”}”(hŒs``vm_numa_event`` VM NUMA event statistics for the zone. The items tracked are defined by ``enum numa_stat_item``. ”h]”(jP)�”}”(hŒ``vm_numa_event``”h]”j,)�”}”(hjY"h]”hŒ vm_numa_event”…”�”}”(hj["h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjW"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´MXhjS"ubji)�”}”(hhh]”hÞ)�”}”(hŒ`VM NUMA event statistics for the zone. The items tracked are defined by ``enum numa_stat_item``.”h]”(hŒHVM NUMA event statistics for the zone. The items tracked are defined by ”…”�”}”(hjq"h²hh³Nh´Nubj,)�”}”(hŒ``enum numa_stat_item``”h]”hŒenum numa_stat_item”…”�”}”(hjy"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hjq"ubhŒ.”…”�”}”(hjq"h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MWhjn"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhjS"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´MXhj"h²hubjJ)�”}”(hŒò``per_cpu_zonestats`` Per-CPU VM statistics for the zone. It records VM statistics and VM NUMA event statistics on a per-CPU basis. It reduces updates to the global ``vm_stat`` and ``vm_numa_event`` fields of the zone to improve performance. ”h]”(jP)�”}”(hŒ``per_cpu_zonestats``”h]”j,)�”}”(hj£"h]”hŒper_cpu_zonestats”…”�”}”(hj¥"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj¡"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jOh³hÇh´M]hj�"ubji)�”}”(hhh]”hÞ)�”}”(hŒÛPer-CPU VM statistics for the zone. It records VM statistics and VM NUMA event statistics on a per-CPU basis. It reduces updates to the global ``vm_stat`` and ``vm_numa_event`` fields of the zone to improve performance.”h]”(hŒ�Per-CPU VM statistics for the zone. It records VM statistics and VM NUMA event statistics on a per-CPU basis. It reduces updates to the global ”…”�”}”(hj»"h²hh³Nh´Nubj,)�”}”(hŒ ``vm_stat``”h]”hŒvm_stat”…”�”}”(hjÃ"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj»"ubhŒ and ”…”�”}”(hj»"h²hh³Nh´Nubj,)�”}”(hŒ``vm_numa_event``”h]”hŒ vm_numa_event”…”�”}”(hjÕ"h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+hj»"ubhŒ+ fields of the zone to improve performance.”…”�”}”(hj»"h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´M[hj¸"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhj�"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jIh³hÇh´M]hj"h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jDhjõ!h²hh³hÇh´Nubj )�”}”(hŒ .. _pages:”h]”h}”(h]”h ]”h"]”h$]”h&]”j‰Œpages”uh1j h´M_hjõ!h²hh³hÇubeh}”(h]”Œid5”ah ]”h"]”h$]”jªah&]”uh1hÈhjâh²hh³hÇh´MPjKubeh}”(h]”Œzone-structure”ah ]”h"]”Œzone structure”ah$]”h&]”uh1hÈhjÁh²hh³hÇh´Mrubeh}”(h]”(j£Œid2”eh ]”h"]”Œzones”ah$]”Œzones”ah&]”uh1hÈhhÊh²hh³hÇh´MSjKj½}”j#j™sj¿}”j£j™subhÉ)�”}”(hhh]”(hÎ)�”}”(hŒPages”h]”hŒPages”…”�”}”(hj'#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhj$#h²hh³hÇh´MbubhŒ admonition”“”)�”}”(hŒLThis section is incomplete. Please list and describe the appropriate fields.”h]”(hÎ)�”}”(hŒStub”h]”hŒStub”…”�”}”(hj;#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍh³hÇh´Mdhj7#ubhÞ)�”}”(hj9#h]”hŒLThis section is incomplete. Please list and describe the appropriate fields.”…”�”}”(hjI#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mfhj7#ubeh}”(h]”h ]”Œadmonition-stub”ah"]”h$]”h&]”uh1j5#hj$#h²hh³hÇh´Nubj )�”}”(hŒ .. _folios:”h]”h}”(h]”h ]”h"]”h$]”h&]”j‰Œfolios”uh1j h´Mhhj$#h²hh³hÇubeh}”(h]”(j #Œid6”eh ]”h"]”Œpages”ah$]”Œpages”ah&]”uh1hÈhhÊh²hh³hÇh´MbjKj½}”jm#jÿ"sj¿}”j #jÿ"subhÉ)�”}”(hhh]”(hÎ)�”}”(hŒFolios”h]”hŒFolios”…”�”}”(hjv#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjs#h²hh³hÇh´Mkubj6#)�”}”(hŒLThis section is incomplete. Please list and describe the appropriate fields.”h]”(hÎ)�”}”(hŒStub”h]”hŒStub”…”�”}”(hjˆ#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍh³hÇh´Mmhj„#ubhÞ)�”}”(hj†#h]”hŒLThis section is incomplete. Please list and describe the appropriate fields.”…”�”}”(hj–#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´Mohj„#ubeh}”(h]”h ]”Œadmonition-stub”ah"]”h$]”h&]”uh1j5#hjs#h²hh³hÇh´Nubj )�”}”(hŒ.. _initialization:”h]”h}”(h]”h ]”h"]”h$]”h&]”j‰Œinitialization”uh1j h´Mqhjs#h²hh³hÇubeh}”(h]”(jg#Œid7”eh ]”h"]”Œfolios”ah$]”Œfolios”ah&]”uh1hÈhhÊh²hh³hÇh´MkjKj½}”jº#j]#sj¿}”jg#j]#subhÉ)�”}”(hhh]”(hÎ)�”}”(hŒInitialization”h]”hŒInitialization”…”�”}”(hjÃ#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjÀ#h²hh³hÇh´Mtubj6#)�”}”(hŒLThis section is incomplete. Please list and describe the appropriate fields.”h]”(hÎ)�”}”(hŒStub”h]”hŒStub”…”�”}”(hjÕ#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍh³hÇh´MvhjÑ#ubhÞ)�”}”(hjÓ#h]”hŒLThis section is incomplete. Please list and describe the appropriate fields.”…”�”}”(hjã#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝh³hÇh´MxhjÑ#ubeh}”(h]”h ]”Œadmonition-stub”ah"]”h$]”h&]”uh1j5#hjÀ#h²hh³hÇh´Nubeh}”(h]”(j´#Œid8”eh ]”h"]”Œinitialization”ah$]”Œinitialization”ah&]”uh1hÈhhÊh²hh³hÇh´MtjKj½}”jü#jª#sj¿}”j´#jª#subeh}”(h]”Œphysical-memory”ah ]”h"]”Œphysical memory”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”}”(jŠ]”jaj£]”j™aj #]”jÿ"ajg#]”j]#aj´#]”jª#auŒnameids”}”(j$j$jjj¹jŠj±j®Œgeneral”NjÀj½Œcompaction control”NŒ statistics”Nj#j£j#j#jm#j #jº#jg#jü#j´#uŒ nametypes”}”(j$‰jˆj¹ˆj±‰jv$‰jÀ‰jw$‰jx$‰j#ˆj#‰jm#ˆjº#ˆjü#ˆuh}”(j$hÊjj jŠj‹j¶j‹j®j«jð jîj½jö j jÃj¦jj£jÁj#jÁj#jâj]j%jð!jbj #jõ!j #j$#jj#j$#jg#js#j·#js#j´#jÀ#jù#jÀ#uŒ 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;$Ks…”R”Œparse_messages”]”(hŒsystem_message”“”)�”}”(hhh]”hÞ)�”}”(hŒ(Duplicate implicit target name: "nodes".”h]”hŒ,Duplicate implicit target name: “nodesâ€�.”…”�”}”(hjœ$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhj™$ubah}”(h]”h ]”h"]”h$]”h&]”j¶aŒlevel”KŒtype”ŒINFO”Œsource”hÇŒline”K‹uh1j—$hj‹h²hh³hÇh´K‹ubj˜$)�”}”(hhh]”hÞ)�”}”(hŒ(Duplicate implicit target name: "zones".”h]”hŒ,Duplicate implicit target name: “zonesâ€�.”…”�”}”(hj¸$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhjµ$ubah}”(h]”h ]”h"]”h$]”h&]”j#aŒlevel”KŒtype”j²$Œsource”hÇŒline”MSuh1j—$hjÁh²hh³hÇh´MSubj˜$)�”}”(hhh]”hÞ)�”}”(hŒ*Duplicate implicit target name: "general".”h]”hŒ.Duplicate implicit target name: “generalâ€�.”…”�”}”(hjÓ$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhjÐ$ubah}”(h]”h ]”h"]”h$]”h&]”j]aŒlevel”KŒtype”j²$Œsource”hÇŒline”Mwuh1j—$hj%h²hh³hÇh´Mwubj˜$)�”}”(hhh]”hÞ)�”}”(hŒ5Duplicate implicit target name: "compaction control".”h]”hŒ9Duplicate implicit target name: “compaction controlâ€�.”…”�”}”(hjî$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhjë$ubah}”(h]”h ]”h"]”h$]”h&]”jð!aŒlevel”KŒtype”j²$Œsource”hÇŒline”Muh1j—$hjbh²hh³hÇh´Mubj˜$)�”}”(hhh]”hÞ)�”}”(hŒ-Duplicate implicit target name: "statistics".”h]”hŒ1Duplicate implicit target name: “statisticsâ€�.”…”�”}”(hj %h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhj%ubah}”(h]”h ]”h"]”h$]”h&]”j #aŒlevel”KŒtype”j²$Œsource”hÇŒline”MPuh1j—$hjõ!h²hh³hÇh´MPubj˜$)�”}”(hhh]”hÞ)�”}”(hŒ(Duplicate implicit target name: "pages".”h]”hŒ,Duplicate implicit target name: “pagesâ€�.”…”�”}”(hj$%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhj!%ubah}”(h]”h ]”h"]”h$]”h&]”jj#aŒlevel”KŒtype”j²$Œsource”hÇŒline”Mbuh1j—$hj$#h²hh³hÇh´Mbubj˜$)�”}”(hhh]”hÞ)�”}”(hŒ)Duplicate implicit target name: "folios".”h]”hŒ-Duplicate implicit target name: “foliosâ€�.”…”�”}”(hj?%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhj<%ubah}”(h]”h ]”h"]”h$]”h&]”j·#aŒlevel”KŒtype”j²$Œsource”hÇŒline”Mkuh1j—$hjs#h²hh³hÇh´Mkubj˜$)�”}”(hhh]”hÞ)�”}”(hŒ1Duplicate implicit target name: "initialization".”h]”hŒ5Duplicate implicit target name: “initializationâ€�.”…”�”}”(hjZ%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhjW%ubah}”(h]”h ]”h"]”h$]”h&]”jù#aŒlevel”KŒtype”j²$Œsource”hÇŒline”Mtuh1j—$hjÀ#h²hh³hÇh´MtubeŒtransform_messages”]”(j˜$)�”}”(hhh]”hÞ)�”}”(hhh]”hŒ+Hyperlink target "nodes" is not referenced.”…”�”}”hjw%sbah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhjt%ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j²$Œsource”hÇŒline”Kˆuh1j—$ubj˜$)�”}”(hhh]”hÞ)�”}”(hhh]”hŒ+Hyperlink target "zones" is not referenced.”…”�”}”hj‘%sbah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhjŽ%ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j²$Œsource”hÇŒline”MPuh1j—$ubj˜$)�”}”(hhh]”hÞ)�”}”(hhh]”hŒ+Hyperlink target "pages" is not referenced.”…”�”}”hj«%sbah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhj¨%ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j²$Œsource”hÇŒline”M_uh1j—$ubj˜$)�”}”(hhh]”hÞ)�”}”(hhh]”hŒ,Hyperlink target "folios" is not referenced.”…”�”}”hjÅ%sbah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhjÂ%ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j²$Œsource”hÇŒline”Mhuh1j—$ubj˜$)�”}”(hhh]”hÞ)�”}”(hhh]”hŒ4Hyperlink target "initialization" is not referenced.”…”�”}”hjß%sbah}”(h]”h ]”h"]”h$]”h&]”uh1hÝhjÜ%ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j²$Œsource”hÇŒline”Mquh1j—$ubeŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.