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 moutnnt flag to disable mtime updates.