Re: Update shared mappings

Stephen C. Tweedie
1998-12-03T11:58:29Z

Hi,

On Wed, 2 Dec 1998 19:32:56 +0100 (CET), Andrea Arcangeli
<andrea@e-mind.com> said:

> I have a question. Please consider only the UP case (as if linux would not
> support SMP at all). Is it possible that while we are running inside
> sys_msync() and another process has the mmap semaphore held?

No, because sys_msync() takes the mm semaphore first thing. Another
process _can_ hold the mm semaphore of a different vma on the same
region of the file, however.

> Stephen I read some emails about a PG_dirty flag. Could you tell me some
> more about that flag?

When it gets implemented it will have whatever semantics we choose to
give it. :)

--Stephen