Subject: Re: loaning for read() of regular files
To: Chuck Silvers <chuq@chuq.com>
From: Jonathan Stone <jonathan@dsg.stanford.edu>
List: tech-kern
Date: 02/23/2005 09:26:44
In message <20050223172114.GB29104@spathi.chuq.com>Chuck Silvers writes

[... snip Chuck's excellent responses to Jonathan's perhaps-naive questions]


>> I thought about this more last night. What about an app which writes
>> into each loaned-out page? Do we take a copy-on-write fault for each
>> such page?
>
>yes.
>
>> What do the numbers look like then --- that is, is the
>> penalty bad enough that it's worth adding a per-fd flag to disable
>> loanout, for apps which intend to dirty their just-read() pages?
>
>I haven't done the experiment, I'll do it soon.

Thanks. I look forward to seeing the results.