lkml.org 
[lkml]   [2007]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 16/17] add kmap_atomic_pte for mapping highpte pages
    Andi Kleen wrote:
    >> +}
    >> +
    >> +/* Flush all unused kmap mappings in order to remove stray
    >> + mappings. */
    >> +void kmap_flush_unused(void)
    >> +{
    >> + spin_lock(&kmap_lock);
    >> + flush_all_zero_pkmaps();
    >> + spin_unlock(&kmap_lock);
    >> }
    >>
    >
    > Who calls this now?

    Nobody in kernel, or in this patchset. The Xen code calls it to make
    sure there are no stray RW mappings of a page it has freshly allocated
    for use in a pagetable.

    J
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-04-02 09:25    [W:0.022 / U:31.300 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site