svn commit: r184168 - head/sys/vm

Robert Watson rwatson at FreeBSD.org
Wed Oct 22 16:50:13 UTC 2008


Author: rwatson
Date: Wed Oct 22 16:50:12 2008
New Revision: 184168
URL: http://svn.freebsd.org/changeset/base/184168

Log:
  Update mmap() comment: no more block devices, so no more block device
  cache coherency questions.
  
  MFC after:	3 days

Modified:
  head/sys/vm/vm_mmap.c

Modified: head/sys/vm/vm_mmap.c
==============================================================================
--- head/sys/vm/vm_mmap.c	Wed Oct 22 15:43:28 2008	(r184167)
+++ head/sys/vm/vm_mmap.c	Wed Oct 22 16:50:12 2008	(r184168)
@@ -187,10 +187,6 @@ ogetpagesize(td, uap)
  * memory-based, such as a video framebuffer, can be mmap'd.  Otherwise
  * there would be no cache coherency between a descriptor and a VM mapping
  * both to the same character device.
- *
- * Block devices can be mmap'd no matter what they represent.  Cache coherency
- * is maintained as long as you do not write directly to the underlying
- * character device.
  */
 #ifndef _SYS_SYSPROTO_H_
 struct mmap_args {


More information about the svn-src-head mailing list