页次: 1
有点搞不懂,为什么/proc/meminfo里的VmallocUsed会是0,
[lujun9972@X61 ~]$ grep VmallocUsed /proc/meminfo
VmallocUsed: 0 kB
[lujun9972@X61 ~]$ sudo grep VmallocUsed /proc/meminfo
[sudo] lujun9972 的密码:
VmallocUsed: 0 kB
但是查看 /proc/vmallocinfo 里明明是有内容的
[lujun9972@X61 ~]$ sudo cat /proc/vmallocinfo |head
0x000000008088114a-0x000000001aecb69b 8192 acpi_os_map_iomem+0x14c/0x180 phys=0x00000000bf6bd000 ioremap
0x000000001aecb69b-0x0000000086f9fed7 8192 acpi_os_map_iomem+0x14c/0x180 phys=0x00000000bf6e4000 ioremap
0x0000000086f9fed7-0x000000006fbc598c 8192 acpi_os_map_iomem+0x14c/0x180 phys=0x00000000bf6e2000 ioremap
0x000000006fbc598c-0x00000000636e4cf9 12288 acpi_os_map_iomem+0x14c/0x180 phys=0x00000000bf6e2000 ioremap
0x00000000636e4cf9-0x000000005464ab58 8192 hpet_enable+0x34/0x2c1 phys=0x00000000fed00000 ioremap
0x000000005464ab58-0x00000000396cc741 12288 alloc_large_system_hash+0x194/0x257 pages=2 vmalloc N0=2
0x00000000396cc741-0x0000000038ec28d8 8192 bpf_prog_alloc+0x40/0xb0 pages=1 vmalloc N0=1
0x0000000038ec28d8-0x000000002f686ade 65536 acpi_os_map_iomem+0x14c/0x180 phys=0x00000000bf6bd000 ioremap
0x000000002f686ade-0x00000000fee69f16 4198400 alloc_large_system_hash+0x194/0x257 pages=1024 vmalloc vpages N0=1024
0x00000000fee69f16-0x00000000362aad15 2101248 alloc_large_system_hash+0x194/0x257 pages=512 vmalloc N0=512
这两个信息不是匹配不上吗?
离线
VmallocTotal VmallocUsed man7.org文档说法二者有区别,但没有具体说明啥叫Used,但这都是内核态内存了,与用户态程序无关
反社会,精神极其不稳定,随时可能炸碎身边所有人
离线
页次: 1