Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2008 16:50:13 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184168 - head/sys/vm
Message-ID:  <200810221650.m9MGoD7I033803@svn.freebsd.org>

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



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