• Jeremy Fitzhardinge's avatar
    xen64: defer setting pagetable alloc/release ops · 8745f8b0
    Jeremy Fitzhardinge authored
    We need to wait until the page structure is available to use the
    proper pagetable page alloc/release operations, since they use struct
    page to determine if a pagetable is pinned.
    
    This happened to work in 32bit because nobody allocated new pagetable
    pages in the interim between xen_pagetable_setup_done and
    xen_post_allocator_init, but the 64-bit kenrel needs to allocate more
    pagetable levels.
    Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
    Cc: Stephen Tweedie <sct@redhat.com>
    Cc: Eduardo Habkost <ehabkost@redhat.com>
    Cc: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    8745f8b0
enlighten.c 37.9 KB