mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
7a669a64180c8e4f3a5bb331728dfeb8bc220be0
Show the CMA pages used by cma_alloc in meminfo node. Tested on RV1126 EVB DDR3: CmaTotal: 270336 kB CmaAllocated: 44408 kB CmaReleased: 225928 kB CmaFree: 0 kB The CmaTotal = CmaAllocated + CmaReleased, and the CmaFree is pages under cma area unused by system. The CmaAllocated can be calculated by CMA_DEBUGFS. Tested on RV1126 EVB DDR3: cat /sys/kernel/debug/cma/*/used 10756 346 The results from cma used is in page count, 1 page = 4kByte CmaAllocated = 44408kB = 10756 + 346 pages Change-Id: Ib79001367562c968e6432816b158cba551978173 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%