lkml.org 
[lkml]   [2007]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [patches] [PATCH] [28/34] i386: pte xchg optimization
    Date

    > I always wondered why the xchg is necessary here at all. If the process of
    > tearing down a page table entry has started, other users of the mapped
    > linear address are broken anyway - why is it necessary to still monitor the
    > effect they may have on the A/D bits, unless this is a transient tear down?
    >
    > Checking for the uses of ptep_get_and_clear, I would judge that the use in
    > change_pte_range() may in fact need the xchg, but the uses in
    > vunmap_pte_range() and zap_pte_range() shouldn't.

    Yes I agree. Might be a nice speed up for exit to distingush the cases.

    -Andi
    -
    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-05-02 13:09    [W:2.258 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site