Thank you for helping me.
I don’t see /dev/-cma
. Also I don’t see cma in module.
But I see CmaTotal and CmaTree in /proc/meminfo
.
# ls /dev/
autofs gpiochip0 mmcblk0 ptyp0 ptypc tty0 tty2 tty30 tty41 tty52 tty63 ttyp6 vcs1 vcsa6
block gpiochip1 mmcblk0p1 ptyp1 ptypd tty1 tty20 tty31 tty42 tty53 tty7 ttyp7 vcs2 watchdog
btrfs-control gpiochip2 mmcblk0p2 ptyp2 ptype tty10 tty21 tty32 tty43 tty54 tty8 ttyp8 vcs3 watchdog0
bus i2c-0 mmcblk0p3 ptyp3 ptypf tty11 tty22 tty33 tty44 tty55 tty9 ttyp9 vcs4 zero
char i2c-1 mqueue ptyp4 ram0 tty12 tty23 tty34 tty45 tty56 ttyS0 ttypa vcs5
console initctl network_latency ptyp5 ram1 tty13 tty24 tty35 tty46 tty57 ttyS1 ttypb vcs6
cpu_dma_latency input network_throughput ptyp6 random tty14 tty25 tty36 tty47 tty58 ttyp0 ttypc vcsa
cuse kmem null ptyp7 shm tty15 tty26 tty37 tty48 tty59 ttyp1 ttypd vcsa1
disk kmsg psaux ptyp8 stderr tty16 tty27 tty38 tty49 tty6 ttyp2 ttype vcsa2
fd log ptmx ptyp9 stdin tty17 tty28 tty39 tty5 tty60 ttyp3 ttypf vcsa3
full mem ptp0 ptypa stdout tty18 tty29 tty4 tty50 tty61 ttyp4 urandom vcsa4
fuse memory_bandwidth pts ptypb tty tty19 tty3 tty40 tty51 tty62 ttyp5 vcs vcsa5
# lsmod
Module Size Used by
xt_connmark 16384 2
iptable_nat 16384 0
nf_conntrack_ipv4 16384 3
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
nf_nat_ipv4 16384 1 iptable_nat
nf_nat 28672 1 nf_nat_ipv4
nf_conntrack 122880 4 nf_conntrack_ipv4,xt_connmark,nf_nat_ipv4,nf_nat
iptable_mangle 16384 1
iptable_filter 16384 0
ip_tables 20480 3 iptable_mangle,iptable_filter,iptable_nat
x_tables 28672 4 iptable_mangle,ip_tables,iptable_filter,xt_connmark
# cat /proc/meminfo | grep Cma
CmaTotal: 16384 kB
CmaFree: 16100 kB