Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric W. Biederman wrote:
> If (cpu_has_pse) it may only be an additional two pages.
> INIT_MAP_BEYOND is currently mapping a lot more then that.
>   

Ah, yes.  It allocates an extra two pages for pagetables, and then maps
an extra 8MB or so.

>> Would that be necessary?  Is there any need to remap it?  Couldn't you
>> just do the straightforward phys->virt mapping and use the page where it
>> lies?
>>     
>
> Catch-22.  If the page is not mapped yet you can't use it where it lies.

Why not?  Er, except in the case where the page is needed to map itself
- but that can be dealt with with a transient fixmap mapping.

    J
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux