• Andrew Morton's avatar
    [PATCH] avoid allocating pte_chains for unshared pages · 6a2ea338
    Andrew Morton authored
    Patch from David McCracken.  It is an optimisation to the rmap
    pte_chains.
    
    In the common case where a page is mapped by only a single pte, we
    don't need to allocate a pte_chain structure.  Just make the page's
    pte_chain pointer point straight at that pte and flag this with
    PG_direct.
    6a2ea338
page_alloc.c 22.7 KB