4g内存可以用linux系统吗,强制Linux使用4G内存吗?

memmap=exactmap [KNL,X86] Enable setting of an exact

E820 memory map, as specified by the user.

Such memmap=exactmap lines can be constructed based on

BIOS output or other requirements. See the [email protected]

option description.

memmap=nn[KMG]@ss[KMG]

[KNL] Force usage of a specific region of memory

Region of memory to be used, from ss to ss+nn.

memmap=nn[KMG]#ss[KMG]

[KNL,ACPI] Mark specific memory as ACPI data.

Region of memory to be used, from ss to ss+nn.

memmap=nn[KMG]$ss[KMG]

[KNL,ACPI] Mark specific memory as reserved.

Region of memory to be used, from ss to ss+nn.

Example: Exclude memory from 0x18690000-0x1869ffff

memmap=64K$0x18690000

or

memmap=0x10000$0x18690000

如果添加memmap=4G$0内核的启动参数,物理内存的低4GB将不再访问。另外,您的系统将不再启动...但是其中的一些变化(memmap=3584M$512M?)可能允许系统启动时具有足够低于4GB的内存,但不足以使您的驱动程序的DMA缓冲区将分配到那里。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值