mem_map
hi all,
Can any body provide any information for the significance of "CONFIG_VIRTUAL_MEM_MAP"?
TIA,
Vaibhav
Quoted 3 lines · Vaibhav Sharma
hi all,
Can any body provide any information for the significance of "CONFIG_VIRTUAL_MEM_MAP"?
help
Say Y to compile the kernel with support for a virtual mem map. This code also only takes effect if a memory hole of greater than 1 Gb is found during boot. You must turn this option on if you require the DISCONTIGMEM option for your machine. If you are unsure, say Y.
The first sentence could define what a virtual mem map is. IIRC, it's something to do with non-contiguous page table.
grant
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Vaibhav Sharma
Vaibhav> hi all, Can any body provide any information for the Vaibhav> significance of "CONFIG_VIRTUAL_MEM_MAP"?
Turning on this option puts the Linux physical memory-map (mem_map) into virtual memory rather than physical memory. Doing so can be an advantage on machines which have holes in the physical memory. For example, on zx1-based machines, physical memory 1GB-4GB shows up at an address above 257GB so there is a hole of about 256GB below that address.
There are other ways to manage (huge) holes in physical memory space, but with the large page-sizes (64MB or 16MB) we use on ia64 for identity-mapping kernel space, this approach seems to work quite well.
--david