lkml.org 
[lkml]   [2002]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] flush_cache_page while pte valid
    From
       From: Hugh Dickins <hugh@veritas.com>
    Date: Mon, 11 Nov 2002 18:25:25 +0000 (GMT)

    On some architectures (cachetlb.txt gives HyperSparc as an example)
    it is essential to flush_cache_page while pte is still valid: the
    rmap VM diverged from the base 2.4 VM before that fix was made,
    so this error has crept back into 2.5.
    ...
    (I wonder, what happens if userspace now modifies the page
    after the flush_cache_page, before the pte is invalidated?)

    Thanks for catching this.

    On architectures that are affected (such as the mentioned HyperSPARC
    chips), the cpu will take a trap and OOPS the kernel if the PTE is
    invalidated before the cache flush is made.
    -
    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: 2005-03-22 13:30    [W:3.954 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site