Re: 2.6.19 file content corruption on ext3

From: Arjan van de Ven
Date: Wed Dec 20 2006 - 04:39:40 EST



> Hmm, should we not flush after clearing the dirty bit? That is, why does
> ptep_clear_flush_dirty() need a flush after clearing that bit? does it
> leak through in the tlb copy?

afaics you need to
1) clear
2) flush
3) check and go to 1) if needed

to be race free.



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