Extend vm_object_page_clean() to accept swap objects that backs tmpfs regular files. The result is just the removal of write permissions of the mappings. This should make mtime updates due to the later writes through the mmaped memory working.
Add nomtime mount flag to disable mtime updates due to writes from the mmaped regions. I think it does not make sense to imply the meaning of disabling mtime updates from normal writes.