Re: [PATCH] cowlinks v2

Jamie Lokier
2004-04-05T12:39:39Z

Eric W. Biederman wrote:
> As scheme that does not isolate the invalidate to the new copy worries me.

It is possible to isolate the invalidate to mappings of the newly
broken cowlink only.

There is still the problem of MAP_LOCKED, or more realistically
mlockall() used with mappings of glibc etc. on a filesystem snapshot
made using cowlinks. The easiest thing is obviously to break the
cowlink when a mapping is locked, but it's not nice.

-- Jamie