Peter Wemm 37b8ccd37a In vfs_msync(), test to see if the vnode being examined is "interesting"
(ie: it has a vm_object attached and is marked as OBJ_MIGHTBEDIRTY) before
attempting to lock it.  This should reduce the cpu hit that is incurred
when doing a sync(2) and when the syncer process is doing the 30-second
writeback of dirty mmap() data to disk.  Skip this speedup if we are
doing an unmount() to be sure to get everything - we can afford to
occasionally miss a msync while the system is running, but not at unmount.

I'm not sure about the VXLOCK and MNT_WAIT case, it seems a bit odd to skip
doing a page_clean at unmount time just because a vnode is VXLOCKed, but
that's what was being done before...
1998-04-18 06:26:16 +00:00
..
1998-04-18 04:58:33 +00:00
1998-04-18 05:01:24 +00:00
1998-04-06 05:11:42 +00:00
1998-02-09 06:11:36 +00:00
1998-01-08 23:42:31 +00:00
1998-04-06 11:41:07 +00:00
1998-04-18 04:58:33 +00:00
1997-05-28 04:45:15 +00:00
1998-04-15 17:47:40 +00:00