aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/cma
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/cma')
-rw-r--r--Documentation/cma/debugfs.rst (renamed from Documentation/cma/debugfs.txt)8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/cma/debugfs.txt b/Documentation/cma/debugfs.rst
index 6cef20a8cedc..518fe401b5ee 100644
--- a/Documentation/cma/debugfs.txt
+++ b/Documentation/cma/debugfs.rst
@@ -1,3 +1,9 @@
+:orphan:
+
+=====================
+CMA Debugfs Interface
+=====================
+
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.
@@ -12,7 +18,7 @@ The structure of the files created under that directory is as follows:
- [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 page states in the zone.
- - [WO] alloc: Allocate N pages from that CMA area. For example:
+ - [WO] alloc: Allocate N pages from that CMA area. For example::
echo 5 > <debugfs>/cma/cma-2/alloc