Re: PG_clean for shared mapping smart syncing

Stephen C. Tweedie (sct@redhat.com)
Sat, 19 Dec 1998 17:10:05 GMT


Hi,

On Sat, 19 Dec 1998 17:37:03 +0100 (CET), Andrea Arcangeli
<andrea@e-mind.com> said:

> Ah but I just found a problem... When we set the PG_clean flag on the page
> we should set the pte readonly for that page in all process vm and not
> only in the process running. But if we must play with the page table it's
> easier to directly set the page as clean as I was used to do with my
> previous update_shared_mappings() patch. So I think we could drop
> completly my last patch and return to my old code and solve the problem to
> handle the mmap_sem locking right...

Agreed, I much prefer the concept of being able to reliably keep the pte
dirty bits consistent between processes.

--Stephen

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