Re: [PATCH] i386/PAE: avoid temporarily inconsistent pte-s

From: Jan Beulich
Date: Wed Sep 19 2007 - 12:15:49 EST


>>> Andi Kleen <ak@xxxxxxx> 19.09.07 18:09 >>>
>On Wednesday 19 September 2007 16:39:39 Jan Beulich wrote:
>> One more of these issues (which were considered fixed a few releases
>> back): Other than on x86-64, i386 allows set_fixmap() to replace
>> already present mappings. Consequently, on PAE, care must be taken to
>> not update the high half of a pte while the low half is still holding
>> the old value.
>
>Hmm perhaps it would be better to just forbid it on i386 too.
>Do you know who uses it?

PCI's mmconfig accessor. One could of course make it call clear_fixmap() prior
to establishing a new mapping, but I thought that was not intended and is the
reason for allowing this.

Jan

-
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/