€•Ô+Œ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/admin-guide/mm/cma_debugfs”Œ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/admin-guide/mm/cma_debugfs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/it_IT/admin-guide/mm/cma_debugfs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/ja_JP/admin-guide/mm/cma_debugfs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/ko_KR/admin-guide/mm/cma_debugfs”Œ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/admin-guide/mm/cma_debugfs”Œ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/admin-guide/mm/cma_debugfs”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒCMA Debugfs Interface”h]”hŒCMA Debugfs Interface”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒH/var/lib/git/docbuild/linux/Documentation/admin-guide/mm/cma_debugfs.rst”h´KubhŒ paragraph”“”)�”}”(hŒ•The CMA debugfs interface is useful to retrieve basic information out of the different CMA areas and to test allocation/release in each of the areas.”h]”hŒ•The CMA debugfs interface is useful to retrieve basic information out of the different CMA areas and to test allocation/release in each of the areas.”…”�”}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)�”}”(hŒbEach CMA area represents a directory under /cma/, represented by its CMA name like below:”h]”hŒbEach CMA area represents a directory under /cma/, represented by its CMA name like below:”…”�”}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhŒ block_quote”“”)�”}”(hŒ/cma/ ”h]”hÌ)�”}”(hŒ/cma/”h]”hŒ/cma/”…”�”}”(hhïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hhëubah}”(h]”h ]”h"]”h$]”h&]”uh1héh³hÊh´K hh·h²hubhÌ)�”}”(hŒFThe structure of the files created under that directory is as follows:”h]”hŒFThe structure of the files created under that directory is as follows:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hh·h²hubhê)�”}”(hXf- [RO] base_pfn: The base PFN (Page Frame Number) of the CMA area. This is the same as ranges/0/base_pfn. - [RO] count: Amount of memory in the CMA area. - [RO] order_per_bit: Order of pages represented by one bit. - [RO] bitmap: The bitmap of allocated pages in the area. This is the same as ranges/0/base_pfn. - [RO] ranges/N/base_pfn: The base PFN of contiguous range N in the CMA area. - [RO] ranges/N/bitmap: The bit map of allocated pages in range N in the CMA area. - [WO] alloc: Allocate N pages from that CMA area. For example:: echo 5 > /cma//alloc ”h]”hŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒl[RO] base_pfn: The base PFN (Page Frame Number) of the CMA area. This is the same as ranges/0/base_pfn.”h]”hŒdefinition_list”“”)�”}”(hhh]”hŒdefinition_list_item”“”)�”}”(hŒg[RO] base_pfn: The base PFN (Page Frame Number) of the CMA area. This is the same as ranges/0/base_pfn.”h]”(hŒterm”“”)�”}”(hŒ@[RO] base_pfn: The base PFN (Page Frame Number) of the CMA area.”h]”hŒ@[RO] base_pfn: The base PFN (Page Frame Number) of the CMA area.”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´Khj'ubhŒ definition”“”)�”}”(hhh]”hÌ)�”}”(hŒ&This is the same as ranges/0/base_pfn.”h]”hŒ&This is the same as ranges/0/base_pfn.”…”�”}”(hj@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj=ubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hj'ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´Khj"ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒ-[RO] count: Amount of memory in the CMA area.”h]”hÌ)�”}”(hjhh]”hŒ-[RO] count: Amount of memory in the CMA area.”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjfubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒ:[RO] order_per_bit: Order of pages represented by one bit.”h]”hÌ)�”}”(hjh]”hŒ:[RO] order_per_bit: Order of pages represented by one bit.”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒc[RO] bitmap: The bitmap of allocated pages in the area. This is the same as ranges/0/base_pfn.”h]”j!)�”}”(hhh]”j&)�”}”(hŒ^[RO] bitmap: The bitmap of allocated pages in the area. This is the same as ranges/0/base_pfn.”h]”(j,)�”}”(hŒ7[RO] bitmap: The bitmap of allocated pages in the area.”h]”hŒ7[RO] bitmap: The bitmap of allocated pages in the area.”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´Khj›ubj<)�”}”(hhh]”hÌ)�”}”(hŒ&This is the same as ranges/0/base_pfn.”h]”hŒ&This is the same as ranges/0/base_pfn.”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hj›ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´Khj˜ubah}”(h]”h ]”h"]”h$]”h&]”uh1j hj”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒP[RO] ranges/N/base_pfn: The base PFN of contiguous range N in the CMA area.”h]”j!)�”}”(hhh]”j&)�”}”(hŒK[RO] ranges/N/base_pfn: The base PFN of contiguous range N in the CMA area.”h]”(j,)�”}”(hŒ:[RO] ranges/N/base_pfn: The base PFN of contiguous range N”h]”hŒ:[RO] ranges/N/base_pfn: The base PFN of contiguous range N”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´KhjÝubj<)�”}”(hhh]”hÌ)�”}”(hŒin the CMA area.”h]”hŒin the CMA area.”…”�”}”(hjòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjïubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hjÝubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´KhjÚubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjÖubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒU[RO] ranges/N/bitmap: The bit map of allocated pages in range N in the CMA area.”h]”j!)�”}”(hhh]”j&)�”}”(hŒP[RO] ranges/N/bitmap: The bit map of allocated pages in range N in the CMA area.”h]”(j,)�”}”(hŒ7[RO] ranges/N/bitmap: The bit map of allocated pages in”h]”hŒ7[RO] ranges/N/bitmap: The bit map of allocated pages in”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j+h³hÊh´Khjubj<)�”}”(hhh]”hÌ)�”}”(hŒrange N in the CMA area.”h]”hŒrange N in the CMA area.”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj1ubah}”(h]”h ]”h"]”h$]”h&]”uh1j;hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j%h³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1j hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)�”}”(hŒm[WO] alloc: Allocate N pages from that CMA area. For example:: echo 5 > /cma//alloc ”h]”(hÌ)�”}”(hŒ>[WO] alloc: Allocate N pages from that CMA area. For example::”h]”hŒ=[WO] alloc: Allocate N pages from that CMA area. For example:”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´KhjZubhŒ literal_block”“”)�”}”(hŒ'echo 5 > /cma//alloc”h]”hŒ'echo 5 > /cma//alloc”…”�”}”hjnsbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jlh³hÊh´KhjZubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1jh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1héh³hÊh´Khh·h²hubhÌ)�”}”(hŒ7would try to allocate 5 pages from the 'cma_name' area.”h]”hŒ;would try to allocate 5 pages from the ‘cma_name’ area.”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhê)�”}”(hŒC- [WO] free: Free N pages from that CMA area, similar to the above.”h]”j)�”}”(hhh]”j)�”}”(hŒA[WO] free: Free N pages from that CMA area, similar to the above.”h]”hÌ)�”}”(hj©h]”hŒA[WO] free: Free N pages from that CMA area, similar to the above.”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¤ubah}”(h]”h ]”h"]”h$]”h&]”jŠj‹uh1jh³hÊh´Khj ubah}”(h]”h ]”h"]”h$]”h&]”uh1héh³hÊh´Khh·h²hubeh}”(h]”Œcma-debugfs-interface”ah ]”h"]”Œcma debugfs interface”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jõŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”jÏjÌsŒ nametypes”}”jωsh}”jÌh·sŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.