[FYI] tux3: Core changes

David Lang david at lang.hm
Mon May 25 23:13:46 PDT 2015


On Mon, 25 May 2015, Daniel Phillips wrote:

> On Monday, May 25, 2015 11:04:39 PM PDT, David Lang wrote:
>> if the page gets modified again, will that cause any issues? what if the 
>> page gets modified before the copy gets written out, so that there are two 
>> dirty copies of the page in the process of being written?
>> 
>> David Lang
>
> How is the page going to get modified again? A forked page isn't
> mapped by a pte, so userspace can't modify it by mmap. The forked
> page is not in the page cache, so usespace can't modify it by
> posix file ops. So the writer would have to be in kernel. Tux3
> knows what it is doing, so it won't modify the page. What kernel
> code besides Tux3 will modify the page?

I'm assuming that Rik is talking about whatever has the reference to the page 
via one of the methods that he talked about.

David Lang



More information about the Tux3 mailing list