[lkml]   [2011]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/3] x86: calculate precisely the memory needed by init_memory_mapping
    Stefano Stabellini <> wrote:

    >On Mon, 20 Jun 2011, H. Peter Anvin wrote:
    >> On 06/07/2011 11:13 AM, wrote:
    >> >
    >> > - remove the extra page added on x86_32 for the fixmap because is
    >> > needed: the PMD entry is already allocated and contiguous for the
    >> > range (a PMD page covers 4G of virtual addresses) and the pte entry
    >> > already allocated by early_ioremap_init.
    >> >
    >> Hi Stefano,
    >> I think this is wrong. A PMD page covers *1G* of virtual addresses,
    >> in the 2+2 and 1+3 memory configurations, we may or may not need a
    >> separate PMD for the fixmap.
    >> Am I missing something?
    >You are right, a PMD page covers 1G of virtual addresses so that part
    >the explanation in the comment is wrong.
    >The reason why we don't need a separate PMD for the fixmap is that in
    >both PAE and non-PAE cases the last gigabyte of virtual addresses is
    >always covered by the initial allocation in head_32.S (swapper_pg_dir

    Ok, wasn't sure if Xen used the static allocation or not.
    Sent from my mobile phone. Please excuse my brevity and lack of formatting.

     \ /
      Last update: 2011-06-21 20:25    [W:0.020 / U:11.112 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site