Hi All,
I am using Openwrt 16.02 BSP (Linux 4.4.0) on Gate-works GW5410 Hardware. Recently i noticed the memory mapping of the linux kernel
root@OpenWrt:/# cat /proc/meminfo
MemTotal: 1032060 kB
MemFree: 946216 kB
MemAvailable: 971408 kB
Buffers: 8404 kB
Cached: 23448 kB
SwapCached: 0 kB
Active: 25396 kB
Inactive: 8312 kB
Active(anon): 1920 kB
Inactive(anon): 60 kB
Active(file): 23476 kB
Inactive(file): 8252 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 1908 kB
Mapped: 6016 kB
Shmem: 124 kB
Slab: 22732 kB
SReclaimable: 7216 kB
SUnreclaim: 15516 kB
KernelStack: 1136 kB
PageTables: 348 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 516028 kB
Committed_AS: 6040 kB
VmallocTotal: 1032192 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
root@OpenWrt:/#
The VmallocChunk shows 0 KB, but total of around 1 GB is available for Vmalloc area. The total RAM area of the system is also 1 GB. Why the VmallocChunk shows 0 KB. Is it possible to kernel modules to use this vmalloc memory. Anything wrong with Memory mapping .
Thanks in advance