CMA information through sysfs interface

modulename: cma_sysfs.ko

configname: CONFIG_CMA_SYSFS

Linux Kernel Configuration
└─>Memory Management options
└─>CMA information through sysfs interface
In linux kernel since version 5.2 (release Date: 2019-07-07)  
This option exposes some sysfs attributes to get information
from CMA.

source code: