Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2013 18:35:12 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250187 - head/sys/vm
Message-ID:  <201305021835.r42IZCe0069057@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305021835.r42IZCe0069057>