> > > add-page-becoming-writable-notification.patch> > > Add page becoming writable notification> > > > David, this still has the bogus address_space operation in addition to> > the vm_operation. page_mkwrite only fits into the vm_operations scheme,> > so please remove the address_space op. Also the code will be smaller> > and faster witout that indirection..> > Here's the fix:

That's not right either. Filesystems really shouldn't be overloading thevm_ops on memory mappings (as has been made clear to me) and the VM low-levelpaging routines shouldn't be touching a_ops (as has also been made clear tome). I also have other reasons I don't want to have ordinary files withspecialised vm_ops.

I suppose I could try and build a little knowledge about fscache into theVM... that might be reasonable.

Remember also that your change is going to affect NFS too eventually, assumingNFS caching support ends up being done this way. It may also affect otherfilesystems, such as SMB/CIFS and Coda eventually should they partake offscache services too.