On 06/06/2011 11:11 AM, Eric Dumazet wrote:Le lundi 06 juin 2011 Ã 10:53 -0700, Darren Hart a Ãcrit :
If I understand the problem correctly, RO private mapping really doesn't
make any sense and we should probably explicitly not support it, while
special casing the RO shared mapping in support of David's scenario.
We supported them in 2.6.18 kernels, apparently. This might sounds
stupid but who knows ?
I guess this is actually the key point we need to agree on to provide a
solution. This particular case "worked" in 2.6.18 kernels, but that
doesn't necessarily mean it was supported, or even intentional.
It sounds to me that we agree that we should support RO shared mappings.
The question remains about whether we should introduce deliberate
support of RO private mappings, and if so, if the forced COW approach is
appropriate or not.