2005-09-14 10:14:38

by Torsten Foertsch

[permalink] [raw]
Subject: COW pages and paging question

Hi,

when a process forks it's pages become shared by COW. Now one or both
processes are written partially to the swap space. Later some pages are paged
in.

Are they still shared between the 2 processes? (Assuming they are not written
to and cover the same address range)

Thanks,
Torsten


Attachments:
(No filename) (293.00 B)
(No filename) (189.00 B)
Download all attachments

2005-09-14 16:11:00

by Hugh Dickins

[permalink] [raw]
Subject: Re: COW pages and paging question

On Wed, 14 Sep 2005, Torsten Foertsch wrote:
>
> when a process forks it's pages become shared by COW. Now one or both
> processes are written partially to the swap space. Later some pages are paged
> in.
>
> Are they still shared between the 2 processes? (Assuming they are not written
> to and cover the same address range)

Yes.