Linux内核选项CONFIG_HIGHMEM和HIGHPTE启动后才可以支持1G内存?

2019-03-26 12:42发布

这是都开启的情况.

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 2097152 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 1024MB = 1024MB total
[    0.000000] Memory: 1031760k/1031760k available, 16816k reserved, 270336K highmem

如果都不开启:

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 1556480 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 760MB = 760MB total
[    0.000000] Memory: 764052k/764052k available, 14188k reserved, 0K highmem

如果只开启HIGHMEM,就无法启动,停在

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

这几个配置什么意思呢. 此帖出自Linux与安卓论坛
0条回答

一周热门 更多>