> Also, I'm interested in the memory map passed to from EFI in that > > >cat /proc/iomem: > >00000000-00000fff : reserved > >00001000-0009ffff : System RAM > >000a0000-000bffff : PCI Bus 0000:00 > >000f0000-000fffff : System ROM > >00100000-3d162017 : System RAM > > 01000000-015cab9b : Kernel code > > 015cab9c-019beb3f : Kernel data > > 01b4f000-01da9fff : Kernel bss > > 30000000-37ffffff : Crash kernel > >3d162018-3d171e57 : System RAM > >3d171e58-3d172017 : System RAM > >3d172018-3d17ae57 : System RAM > >3d17ae58-3dc10fff : System RAM > > this part is consecutive but somehow is divided into 4 entries. > You called your environment as ``EFI virtual machine'', could you tell > me precisely what it mean? qemu/KVM or VMware guest system? I do want > to understand how this kind of memory map was created. I think this > kind of memory mapping is odd and I guess this is caused by the fact > that the system is a virtual environment. This is not specific to EFI machine, it's the reserved setup_data regions They happened to be continous but they do not have to be continuous. > > And for Vivek, this case is a concrete example of multiple RAM entries > appearing in a single page I suspected in the mmap failure patch, > although these entries are consecutive in physical address and can be > represented by a single entry by merging them in a single entry. But > then it seems to me that there could be more odd case that multiple > RAM entries but not consecutive. I again think this should be addressed > in the patch for the mmap failure issue. How do you think? They are different problems, the previous mmap bug is for cross page regions with different page flags. > > >3dc11000-3dc18fff : reserved > >3dc19000-3dc41fff : System RAM > >3dc42000-3ddcefff : reserved > >3ddcf000-3f7fefff : System RAM > >3f7ff000-3f856fff : reserved > >[..] >