svn commit: r250187 - head/sys/vm

Konstantin Belousov kib at FreeBSD.org
Thu May 2 18:35:13 UTC 2013


Author: kib
Date: Thu May  2 18:35:12 2013
New Revision: 250187
URL: http://svnweb.freebsd.org/changeset/base/250187

Log:
  Add a hint suggesting why tmpfs does not need a special case there.

Modified:
  head/sys/vm/vm_mmap.c

Modified: head/sys/vm/vm_mmap.c
==============================================================================
--- head/sys/vm/vm_mmap.c	Thu May  2 17:02:50 2013	(r250186)
+++ head/sys/vm/vm_mmap.c	Thu May  2 18:35:12 2013	(r250187)
@@ -1289,7 +1289,7 @@ vm_mmap_vnode(struct thread *td, vm_size
 			vp = (struct vnode *)obj->handle;
 			/*
 			 * Bypass filesystems obey the mpsafety of the
-			 * underlying fs.
+			 * underlying fs.  Tmpfs never bypasses.
 			 */
 			error = vget(vp, locktype, td);
 			if (error != 0)


More information about the svn-src-head mailing list