lkml.org 
[lkml]   [2004]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] ppc64: Fix possible race with set_pte on a present PTE
    From
    Date

    > Well, the original scenario triggering that from userland is, imho, so
    > broken, that we may just not care losing that dirty bit ... Oh well :)
    > Anyway, apply my patch. If pte is not present, this will have no effect,
    > if it is, it makes sure we never leave a stale HPTE in the hash, which
    > is fatal in far worse ways.

    Hrm... Or maybe I should just do in set_pte something like

    BUG_ON(pte_present(ptep))

    That would make me sleep better ;)

    Ben.


    -
    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 14:03    [W:0.018 / U:4.240 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site