Re: [PATCH] flush_cache_page while pte valid

Ulrich Weigand
2002-11-12T21:25:17Z

Manfred Spraul wrote:

>The assumption for the dirty bit is that the i386 cpu are the only cpus
>in the world (TM) that maintain the dirty bit in hardware

Not true; the s390 also has a dirty bit in hardware ;-)

To make things more interesting, the s390 dirty bit does not
reside in the pte, but in a storage key associated with the
*physical* page. The bit is set on any access to the physical
page, whether through any virtual mapping, by direct access
with dynamic address translation switched off, or by an I/O
device moving data directly to main memory.

Bye,
Ulrich

--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de